<?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 does JSL extract a subset of selected rows for a column in a data table? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-does-JSL-extract-a-subset-of-selected-rows-for-a-column-in-a/m-p/748507#M92908</link>
    <description>&lt;P&gt;selected rows() expects a boolean value, either 0 or 1.&amp;nbsp; In your example you would specify&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;selected rows( 1 )&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;which indicates to the platform to use selected rows for the subset.&lt;/P&gt;</description>
    <pubDate>Tue, 23 Apr 2024 01:41:31 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2024-04-23T01:41:31Z</dc:date>
    <item>
      <title>How does JSL extract a subset of selected rows for a column in a data table?</title>
      <link>https://community.jmp.com/t5/Discussions/How-does-JSL-extract-a-subset-of-selected-rows-for-a-column-in-a/m-p/748505#M92907</link>
      <description>&lt;P&gt;It seemed like a simple question, but I didn't succeed.&lt;BR /&gt;This selected line number is already selected by other scripts.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

r = dt &amp;lt;&amp;lt; Get Selected Rows();
d3 = dt &amp;lt;&amp;lt; Subset( Output Table( "tt" ), Selected Rows( r ), selected columns( 0 ) );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-04-23_09-19-07.png" style="width: 952px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/63548i09C04C28D9472DEE/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024-04-23_09-19-07.png" alt="2024-04-23_09-19-07.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 01:24:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-does-JSL-extract-a-subset-of-selected-rows-for-a-column-in-a/m-p/748505#M92907</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2024-04-23T01:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: How does JSL extract a subset of selected rows for a column in a data table?</title>
      <link>https://community.jmp.com/t5/Discussions/How-does-JSL-extract-a-subset-of-selected-rows-for-a-column-in-a/m-p/748507#M92908</link>
      <description>&lt;P&gt;selected rows() expects a boolean value, either 0 or 1.&amp;nbsp; In your example you would specify&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;selected rows( 1 )&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;which indicates to the platform to use selected rows for the subset.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 01:41:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-does-JSL-extract-a-subset-of-selected-rows-for-a-column-in-a/m-p/748507#M92908</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2024-04-23T01:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: How does JSL extract a subset of selected rows for a column in a data table?</title>
      <link>https://community.jmp.com/t5/Discussions/How-does-JSL-extract-a-subset-of-selected-rows-for-a-column-in-a/m-p/748508#M92909</link>
      <description>&lt;P&gt;Thank Jim!&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;d3 = dt &amp;lt;&amp;lt; Subset(
	Output Table( "tt" ),
	Selected Rows( 0 ),
	Rows( dt &amp;lt;&amp;lt; Get Selected Rows() ),
	Selected columns only( 0 )
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;I press manual operation to modify.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 23 Apr 2024 01:56:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-does-JSL-extract-a-subset-of-selected-rows-for-a-column-in-a/m-p/748508#M92909</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2024-04-23T01:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: How does JSL extract a subset of selected rows for a column in a data table?</title>
      <link>https://community.jmp.com/t5/Discussions/How-does-JSL-extract-a-subset-of-selected-rows-for-a-column-in-a/m-p/748510#M92911</link>
      <description>&lt;P&gt;This works too&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 01:58:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-does-JSL-extract-a-subset-of-selected-rows-for-a-column-in-a/m-p/748510#M92911</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2024-04-23T01:58:18Z</dc:date>
    </item>
  </channel>
</rss>

