<?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 to get the selected items in the local data filter in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-get-the-selected-items-in-the-local-data-filter/m-p/920269#M107925</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Thank you very much. This is exactly what I wanted!!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I have a new question: How can I use JSL to detect changes in the selection within a local data filter? &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;(Because I created a custom interface where the top part is the Graph Builder and the bottom part is a data table, and I want the form below to update synchronously when the filter selection changes. So, I need to know how to determine when the filter selection has been altered.) &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Dec 2025 06:24:04 GMT</pubDate>
    <dc:creator>DunnRankBudgie8</dc:creator>
    <dc:date>2025-12-18T06:24:04Z</dc:date>
    <item>
      <title>How to get the selected items in the local data filter</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-get-the-selected-items-in-the-local-data-filter/m-p/919995#M107905</link>
      <description>&lt;P&gt;(JMP 17) During the analysis process, we sometimes need to perform corresponding automated analysis based on the content I have filtered in the local filter of the Graph Builder. However, I don’t know how to get the selected content in this filter. Is there any good method? Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2025 00:51:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-get-the-selected-items-in-the-local-data-filter/m-p/919995#M107905</guid>
      <dc:creator>DunnRankBudgie8</dc:creator>
      <dc:date>2025-12-17T00:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the selected items in the local data filter</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-get-the-selected-items-in-the-local-data-filter/m-p/920017#M107906</link>
      <description>&lt;P&gt;Usually, I use &amp;lt;&amp;lt; Get Where Clause or &amp;lt;&amp;lt; Get Filtered Rows as the selections done can be quite complicated.&lt;/P&gt;
&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)), Smoother(X, Y, Legend(10)))
);

ldf = gb &amp;lt;&amp;lt; Local Data Filter(
	Add Filter(columns(:age), Where(:age == 12), Display(:age, N Items(6)))
);

Show(ldf &amp;lt;&amp;lt; Get Where Clause);
Show(ldf &amp;lt;&amp;lt; Get Filtered Rows);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also access the display box and use that, for example in my example it is List Box (List Display) but usually I would avoid this option&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;nw = (gb &amp;lt;&amp;lt; top parent);
nw[OutlineBox("Local Data Filter"), ListBoxBox(1)] &amp;lt;&amp;lt; get selected;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Dec 2025 05:58:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-get-the-selected-items-in-the-local-data-filter/m-p/920017#M107906</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-12-17T05:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the selected items in the local data filter</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-get-the-selected-items-in-the-local-data-filter/m-p/920083#M107910</link>
      <description>&lt;P&gt;Depending on what you mean by "corresponding automated analysis", another approach could be:&lt;/P&gt;
&lt;P&gt;Local Data Filter -&amp;gt; Red Triangle -&amp;gt; Show Subset&lt;/P&gt;
&lt;P&gt;This opens a Linked Subset of your data. You could run your analysis from there. Or, if you Select All (Ctrl+A) from there, that also selects those rows in your parent Data Table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By the way, you can also "Save Where Clause" from the same Dropdown. This is helpful if you might want to re-use this same filter later.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2025 11:31:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-get-the-selected-items-in-the-local-data-filter/m-p/920083#M107910</guid>
      <dc:creator>christian-z</dc:creator>
      <dc:date>2025-12-17T11:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the selected items in the local data filter</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-get-the-selected-items-in-the-local-data-filter/m-p/920269#M107925</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank you very much. This is exactly what I wanted!!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I have a new question: How can I use JSL to detect changes in the selection within a local data filter? &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;(Because I created a custom interface where the top part is the Graph Builder and the bottom part is a data table, and I want the form below to update synchronously when the filter selection changes. So, I need to know how to determine when the filter selection has been altered.) &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 06:24:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-get-the-selected-items-in-the-local-data-filter/m-p/920269#M107925</guid>
      <dc:creator>DunnRankBudgie8</dc:creator>
      <dc:date>2025-12-18T06:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the selected items in the local data filter</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-get-the-selected-items-in-the-local-data-filter/m-p/920271#M107926</link>
      <description>&lt;P&gt;Take a look at Data Filter from Scripting Index to get a good general idea what options you have&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1766039244518.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/89166i973AB7B3C9A9BFF9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1766039244518.png" alt="jthi_0-1766039244518.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In this case you would most likely go with &amp;lt;&amp;lt; Make Filter Change Handler.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might also consider using (Global) Data Filter instead of Local Data Filter, it will make the row state changes directly to the data table.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 06:29:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-get-the-selected-items-in-the-local-data-filter/m-p/920271#M107926</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-12-18T06:29:02Z</dc:date>
    </item>
  </channel>
</rss>

