<?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 Execute Data Filter, then close it. in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Execute-Data-Filter-then-close-it/m-p/904243#M106323</link>
    <description>&lt;P&gt;Well, this has probably been answered a million times, but I cant find what I'm looking for exactly, so I thought I would ask...&lt;/P&gt;
&lt;P&gt;Here is a JMP Script for a Data Table I am using.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Current Data Table() &amp;lt;&amp;lt; Data Filter(
	Location({751, 160}),
	Show Histograms and Bars(0),
	Mode(Show(1), Include(1)),
	Add Filter(columns(:GUN), Where(:GUN == "D"))
);&lt;/CODE&gt;&lt;/PRE&gt;
Edit (jthi): added jsl formatting&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;After it executes, what command do I use to close the filter window? It has served its purpose. Now I want to close it automatically, without having to use mouse clicks.&amp;nbsp; Any help will be appreciated.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Fri, 03 Oct 2025 16:00:37 GMT</pubDate>
    <dc:creator>Newbie_1</dc:creator>
    <dc:date>2025-10-03T16:00:37Z</dc:date>
    <item>
      <title>Execute Data Filter, then close it.</title>
      <link>https://community.jmp.com/t5/Discussions/Execute-Data-Filter-then-close-it/m-p/904243#M106323</link>
      <description>&lt;P&gt;Well, this has probably been answered a million times, but I cant find what I'm looking for exactly, so I thought I would ask...&lt;/P&gt;
&lt;P&gt;Here is a JMP Script for a Data Table I am using.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Current Data Table() &amp;lt;&amp;lt; Data Filter(
	Location({751, 160}),
	Show Histograms and Bars(0),
	Mode(Show(1), Include(1)),
	Add Filter(columns(:GUN), Where(:GUN == "D"))
);&lt;/CODE&gt;&lt;/PRE&gt;
Edit (jthi): added jsl formatting&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;After it executes, what command do I use to close the filter window? It has served its purpose. Now I want to close it automatically, without having to use mouse clicks.&amp;nbsp; Any help will be appreciated.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 03 Oct 2025 16:00:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Execute-Data-Filter-then-close-it/m-p/904243#M106323</guid>
      <dc:creator>Newbie_1</dc:creator>
      <dc:date>2025-10-03T16:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Execute Data Filter, then close it.</title>
      <link>https://community.jmp.com/t5/Discussions/Execute-Data-Filter-then-close-it/m-p/904286#M106326</link>
      <description>&lt;P&gt;There is not a need to use the Data Filter to do the exclusion and selection.&amp;nbsp; Here is a simple piece of JSL that will do the same thing as what you are doing using the Data Filter&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt=current data table();
dt &amp;lt;&amp;lt; select where(:GUN != "D");
dt &amp;lt;&amp;lt; exclude(1);
dt &amp;lt;&amp;lt; invert row selection;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Also, to make your JSL examples you display in your discussion, please use the JSL icon at the top of Discussion Preview to enter your JSL&lt;/P&gt;</description>
      <pubDate>Sat, 27 Sep 2025 01:51:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Execute-Data-Filter-then-close-it/m-p/904286#M106326</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2025-09-27T01:51:17Z</dc:date>
    </item>
  </channel>
</rss>

