<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How do I make my script user interactive? The user has to select meta data in every step in order to get the final graph stats. Eg) First pop up should be 'Male' or 'Female' and so on in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-I-make-my-script-user-interactive-The-user-has-to-select/m-p/717530#M89923</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

dt = Open("$SAMPLE_DATA/Big Class.jmp");

gb = dt &amp;lt;&amp;lt; Graph Builder(
	Size(525, 454),
	Show Control Panel(0),
	Variables(X(:weight), Y(:height), Overlay(:sex)),
	Elements(Points(X, Y, Legend(9)), Line Of Fit(X, Y, Legend(11))),
	Local Data Filter(
		Conditional,
		Add Filter(
			columns(:sex, :age),
			Where(:sex == "F"),
			Where(:age == {13, 14, 15}),
			Display(:age, N Items(6))
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1705493330841.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/60338i5D25FFBB220AC12B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1705493330841.png" alt="jthi_0-1705493330841.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jan 2024 12:08:58 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2024-01-17T12:08:58Z</dc:date>
    <item>
      <title>How do I make my script user interactive? The user has to select meta data in every step in order to get the final graph stats. Eg) First pop up should be 'Male' or 'Female' and so on</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-make-my-script-user-interactive-The-user-has-to-select/m-p/717482#M89918</link>
      <description>&lt;P&gt;How do I make my script user interactive? The user has to select meta data in every step in order to get the final graph stats. Eg) First pop up should be 'Male' or 'Female' and so on&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;
// Change column info: Gender
Data Table("Untitled 448"):Column 2 &amp;lt;&amp;lt; Data Type(Character) &amp;lt;&amp;lt; Set Modeling Type("Nominal") &amp;lt;&amp;lt;
Set Name("Gender");
 
 
// Change column name: Column 1 → STudents
Data Table("Untitled 448"):Column 1 &amp;lt;&amp;lt; Set Name("STudents");
 
 
// New column: Column 3
Data Table("Untitled 448") &amp;lt;&amp;lt; New Column("Column 3", Numeric, "Continuous", Format("Best", 12));
 
 
// Change column name: Column 3 → Age
Data Table("Untitled 448"):Column 3 &amp;lt;&amp;lt; Set Name("Age");
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Jan 2024 10:29:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-make-my-script-user-interactive-The-user-has-to-select/m-p/717482#M89918</guid>
      <dc:creator>GgGgGg2024</dc:creator>
      <dc:date>2024-01-17T10:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make my script user interactive? The user has to select meta data in every step in order to get the final graph stats. Eg) First pop up should be 'Male' or 'Female' and so on</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-make-my-script-user-interactive-The-user-has-to-select/m-p/717506#M89920</link>
      <description>&lt;P&gt;What is the end goal? You might be able to achieve this by using conditional data filter.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 10:30:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-make-my-script-user-interactive-The-user-has-to-select/m-p/717506#M89920</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-01-17T10:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make my script user interactive? The user has to select meta data in every step in order to get the final graph stats. Eg) First pop up should be 'Male' or 'Female' and so on</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-make-my-script-user-interactive-The-user-has-to-select/m-p/717509#M89921</link>
      <description>&lt;P&gt;end goal is to make a graph based on the users requirement.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The user should be able to tell the system if he wants a graph with the data of number of male or number of female and select which age group.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically, can you write a script for conditional data filter where the user is free to select the parameters to move to the next step.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 10:37:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-make-my-script-user-interactive-The-user-has-to-select/m-p/717509#M89921</guid>
      <dc:creator>GgGgGg2024</dc:creator>
      <dc:date>2024-01-17T10:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make my script user interactive? The user has to select meta data in every step in order to get the final graph stats. Eg) First pop up should be 'Male' or 'Female' and so on</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-make-my-script-user-interactive-The-user-has-to-select/m-p/717530#M89923</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

dt = Open("$SAMPLE_DATA/Big Class.jmp");

gb = dt &amp;lt;&amp;lt; Graph Builder(
	Size(525, 454),
	Show Control Panel(0),
	Variables(X(:weight), Y(:height), Overlay(:sex)),
	Elements(Points(X, Y, Legend(9)), Line Of Fit(X, Y, Legend(11))),
	Local Data Filter(
		Conditional,
		Add Filter(
			columns(:sex, :age),
			Where(:sex == "F"),
			Where(:age == {13, 14, 15}),
			Display(:age, N Items(6))
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1705493330841.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/60338i5D25FFBB220AC12B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1705493330841.png" alt="jthi_0-1705493330841.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 12:08:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-make-my-script-user-interactive-The-user-has-to-select/m-p/717530#M89923</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-01-17T12:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make my script user interactive? The user has to select meta data in every step in order to get the final graph stats. Eg) First pop up should be 'Male' or 'Female' and so on</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-make-my-script-user-interactive-The-user-has-to-select/m-p/717531#M89924</link>
      <description>&lt;P&gt;Thanks for the solution. How can I make this interactive? Can I add pop ups to select only which country or only which material data I want?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;New SQL Query(QueryName("Data"), Select, From(Table("Data", Schema("products"), Alias("t1")))) &amp;lt;&amp;lt; Run;

// Delete selected rows
Data Table("Data") &amp;lt;&amp;lt; Select Where(!(:country == "Tokyo")) &amp;lt;&amp;lt; Delete Rows;

// Delete selected rows
Data Table("Data") &amp;lt;&amp;lt; Select Where(!(:product == "Shoes")) &amp;lt;&amp;lt; Delete Rows;

// Change row ID area display width
Data Table("Data") &amp;lt;&amp;lt; Set Row ID Width(91);

// Split data table
// → Data Table( "Untitled 473" )
Data Table("Data") &amp;lt;&amp;lt; Split(
	Split By(:material),
	Split(:cost),
	Group(:country),
	Output Table("finalfile.jmp"),
	Remaining Columns(Drop All),
	Sort by Column Property
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Jan 2024 12:49:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-make-my-script-user-interactive-The-user-has-to-select/m-p/717531#M89924</guid>
      <dc:creator>GgGgGg2024</dc:creator>
      <dc:date>2024-01-17T12:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make my script user interactive? The user has to select meta data in every step in order to get the final graph stats. Eg) First pop up should be 'Male' or 'Female' and so on</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-make-my-script-user-interactive-The-user-has-to-select/m-p/717536#M89925</link>
      <description>&lt;P&gt;Still not really knowing what you are doing, so I would still suggest using data filters, but maybe data filter instead of local data filter&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

dt = Open("$SAMPLE_DATA/Big Class.jmp");

df = dt &amp;lt;&amp;lt; Data Filter(
	Conditional,
	Add Filter(
		columns(:sex, :age),
		Where(:sex == "F"),
		Where(:age == {13, 14, 15}),
		Display(:age, N Items(6))
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could also build customized UI but how to build it, depends a lot on your data and what it is used for.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 12:52:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-make-my-script-user-interactive-The-user-has-to-select/m-p/717536#M89925</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-01-17T12:52:42Z</dc:date>
    </item>
  </channel>
</rss>

