<?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: Looking to delete set number of rows in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Looking-to-delete-set-number-of-rows/m-p/65576#M34329</link>
    <description>&lt;P&gt;Another way to do this...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To set up the script, run the analysis the way you want, whether its in distribution, with a control chart, capability, or process screening. Then add a local data filter to look at the date or row range you want, e.g. the last 50 rows or something. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then find this like in the script:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;	Local Data Filter(
		Add Filter( columns( :Row ), Where( :Row &amp;gt;= 15 &amp;amp; :Row &amp;lt;= 20 ) )
	),&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and edit it to look like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;	Local Data Filter(
		Add Filter( columns( :Row ), Where( :Row = nrow()-5 &amp;amp; :Row = nrow() ) )
	),&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;In the first script the report uses row 15 to 20. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;the report uses the last 5 rows regardless of how many rows there are.*&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;*... and yes, I konw 5 rows are two few for a good capability report, this just an example&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Aug 2018 14:59:39 GMT</pubDate>
    <dc:creator>Byron_JMP</dc:creator>
    <dc:date>2018-08-01T14:59:39Z</dc:date>
    <item>
      <title>Looking to delete set number of rows</title>
      <link>https://community.jmp.com/t5/Discussions/Looking-to-delete-set-number-of-rows/m-p/65473#M34317</link>
      <description>&lt;P&gt;Good Morning&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Using JmP for process control and capability. Would like to be able to select only the last 20 rows (ongoing) of a table and exclude the rest, as now running to several hundred rows; the early data somewhat skewing the capability analysis due to process changes. Any help would be much appreciated, thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 08:19:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Looking-to-delete-set-number-of-rows/m-p/65473#M34317</guid>
      <dc:creator>ChrisNally</dc:creator>
      <dc:date>2018-08-01T08:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Looking to delete set number of rows</title>
      <link>https://community.jmp.com/t5/Discussions/Looking-to-delete-set-number-of-rows/m-p/65516#M34321</link>
      <description>&lt;P&gt;Might this be what you want?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open("$SAMPLE_DATA/big class.jmp");

ex = dt &amp;lt;&amp;lt; select where( Row() &amp;lt; N Rows( dt ) - 20 );
ex &amp;lt;&amp;lt; exclude &amp;lt;&amp;lt; hide;

Control Chart( Group Size( 1 ), KSigma( 3 ),
	Chart Col( :height, Individual Measurement, Moving Range ) );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 01 Aug 2018 12:49:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Looking-to-delete-set-number-of-rows/m-p/65516#M34321</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-08-01T12:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Looking to delete set number of rows</title>
      <link>https://community.jmp.com/t5/Discussions/Looking-to-delete-set-number-of-rows/m-p/65521#M34323</link>
      <description>&lt;P&gt;Thank you, this works perfectly, much aapreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 13:05:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Looking-to-delete-set-number-of-rows/m-p/65521#M34323</guid>
      <dc:creator>ChrisNally</dc:creator>
      <dc:date>2018-08-01T13:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: Looking to delete set number of rows</title>
      <link>https://community.jmp.com/t5/Discussions/Looking-to-delete-set-number-of-rows/m-p/65576#M34329</link>
      <description>&lt;P&gt;Another way to do this...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To set up the script, run the analysis the way you want, whether its in distribution, with a control chart, capability, or process screening. Then add a local data filter to look at the date or row range you want, e.g. the last 50 rows or something. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then find this like in the script:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;	Local Data Filter(
		Add Filter( columns( :Row ), Where( :Row &amp;gt;= 15 &amp;amp; :Row &amp;lt;= 20 ) )
	),&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and edit it to look like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;	Local Data Filter(
		Add Filter( columns( :Row ), Where( :Row = nrow()-5 &amp;amp; :Row = nrow() ) )
	),&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;In the first script the report uses row 15 to 20. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;the report uses the last 5 rows regardless of how many rows there are.*&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;*... and yes, I konw 5 rows are two few for a good capability report, this just an example&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 14:59:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Looking-to-delete-set-number-of-rows/m-p/65576#M34329</guid>
      <dc:creator>Byron_JMP</dc:creator>
      <dc:date>2018-08-01T14:59:39Z</dc:date>
    </item>
  </channel>
</rss>

