<?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 Subset data after filter in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Subset-data-after-filter/m-p/324100#M57339</link>
    <description>&lt;P&gt;hello Everybody !&lt;/P&gt;&lt;P&gt;I have a problem in my script.&lt;/P&gt;&lt;P&gt;I have a big data table and i would like to subset some lines.&lt;/P&gt;&lt;P&gt;I did a data filter and then subset or show subset, but i don't have "time" to select the filter in the window....&lt;/P&gt;&lt;P&gt;how can i say in the script i have select first my filter and then subset the data table&lt;/P&gt;&lt;P&gt;i tried with a wait but it's not the best way&lt;/P&gt;&lt;P&gt;this is my script and i link my data base&lt;/P&gt;&lt;P&gt;thank you for your help !!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 10 Jun 2023 23:20:47 GMT</pubDate>
    <dc:creator>MargauxR</dc:creator>
    <dc:date>2023-06-10T23:20:47Z</dc:date>
    <item>
      <title>Subset data after filter</title>
      <link>https://community.jmp.com/t5/Discussions/Subset-data-after-filter/m-p/324100#M57339</link>
      <description>&lt;P&gt;hello Everybody !&lt;/P&gt;&lt;P&gt;I have a problem in my script.&lt;/P&gt;&lt;P&gt;I have a big data table and i would like to subset some lines.&lt;/P&gt;&lt;P&gt;I did a data filter and then subset or show subset, but i don't have "time" to select the filter in the window....&lt;/P&gt;&lt;P&gt;how can i say in the script i have select first my filter and then subset the data table&lt;/P&gt;&lt;P&gt;i tried with a wait but it's not the best way&lt;/P&gt;&lt;P&gt;this is my script and i link my data base&lt;/P&gt;&lt;P&gt;thank you for your help !!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:20:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Subset-data-after-filter/m-p/324100#M57339</guid>
      <dc:creator>MargauxR</dc:creator>
      <dc:date>2023-06-10T23:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Subset data after filter</title>
      <link>https://community.jmp.com/t5/Discussions/Subset-data-after-filter/m-p/324145#M57343</link>
      <description>&lt;P&gt;Here is one way of handling the issue.&amp;nbsp; By wrapping the Data Filter in a Modal window you can stop the processing until the selections are made.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Current Data Table();
nw = New Window( "zippy",
	&amp;lt;&amp;lt;modal,
	obj = dt &amp;lt;&amp;lt; Data Filter(
		Location( {325, 213} ),
		Conditional,
		Add Filter(
			columns( :Propriétés, :Date d'analyse ),
			Display(
				:Date d'analyse,
				Size( 223, 63 ),
				List Display
			)
		)
	)
);
If( nw["button"] == 1,
	dtNew = dt &amp;lt;&amp;lt; subset(
		selected columns( 0 ),
		selected rows( 1 )
	);
	dt &amp;lt;&amp;lt; clear row states;
);

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Oct 2020 12:56:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Subset-data-after-filter/m-p/324145#M57343</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-10-20T12:56:34Z</dc:date>
    </item>
  </channel>
</rss>

