<?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 How do I select all rows below a specific value? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-I-select-all-rows-below-a-specific-value/m-p/84723#M37913</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way in JSL to select all rows below a specific value in a column? The tricky part is that I know what the specific value is but I won't know which row it is on or what values may fall below it in the data table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my Example Data Table, I would like to select where Column 3 == "B" and all subsequent rows. After running the script, rows 4 through 15 should be selected. Keep in mind that the data table will change and I won't know which row "B" will start on or what "A", "X", "Y" and "Z" are or how many rows are in the data table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ex.JPG" style="width: 312px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/14648iF1242476E35D79FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Ex.JPG" alt="Ex.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Nov 2018 13:51:07 GMT</pubDate>
    <dc:creator>Raquel</dc:creator>
    <dc:date>2018-11-29T13:51:07Z</dc:date>
    <item>
      <title>How do I select all rows below a specific value?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-select-all-rows-below-a-specific-value/m-p/84723#M37913</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way in JSL to select all rows below a specific value in a column? The tricky part is that I know what the specific value is but I won't know which row it is on or what values may fall below it in the data table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my Example Data Table, I would like to select where Column 3 == "B" and all subsequent rows. After running the script, rows 4 through 15 should be selected. Keep in mind that the data table will change and I won't know which row "B" will start on or what "A", "X", "Y" and "Z" are or how many rows are in the data table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ex.JPG" style="width: 312px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/14648iF1242476E35D79FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Ex.JPG" alt="Ex.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2018 13:51:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-select-all-rows-below-a-specific-value/m-p/84723#M37913</guid>
      <dc:creator>Raquel</dc:creator>
      <dc:date>2018-11-29T13:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: How do I select all rows below a specific value?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-select-all-rows-below-a-specific-value/m-p/84725#M37914</link>
      <description>&lt;P&gt;I think this script will get you what you want&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
dt=current data table();

dt &amp;lt;&amp;lt; select where(
	row()&amp;gt;=min(dt&amp;lt;&amp;lt;get rows where(:Column 3=="B"))
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 29 Nov 2018 14:02:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-select-all-rows-below-a-specific-value/m-p/84725#M37914</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-11-29T14:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do I select all rows below a specific value?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-select-all-rows-below-a-specific-value/m-p/84726#M37915</link>
      <description>&lt;P&gt;Your script worked perfectly! Thank you so much!&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2018 14:21:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-select-all-rows-below-a-specific-value/m-p/84726#M37915</guid>
      <dc:creator>Raquel</dc:creator>
      <dc:date>2018-11-29T14:21:38Z</dc:date>
    </item>
  </channel>
</rss>

