<?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 to count number of rows generated by Tabulate()? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-count-number-of-rows-generated-by-Tabulate/m-p/766370#M94645</link>
    <description>&lt;P&gt;I have a JSL of the form below to generate a table using Tabulate (). How do I count the number of rows in the table?&lt;/P&gt;&lt;P&gt;Note the number of rows change with what I have got selected in the Local Data Filter () and the row count needs to be updated with my filter selection.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Tabulate(
	Add Table(
		Column Table( Grouping Columns( :Parameter1 ) ),
		Row Table( Grouping Columns( :Wafer ) )
	),
	Local Data Filter(
		Conditional,
		Add Filter(
		
		// my filter selection goes here 
			
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Jun 2024 11:21:58 GMT</pubDate>
    <dc:creator>Neo</dc:creator>
    <dc:date>2024-06-18T11:21:58Z</dc:date>
    <item>
      <title>How to count number of rows generated by Tabulate()?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-count-number-of-rows-generated-by-Tabulate/m-p/766370#M94645</link>
      <description>&lt;P&gt;I have a JSL of the form below to generate a table using Tabulate (). How do I count the number of rows in the table?&lt;/P&gt;&lt;P&gt;Note the number of rows change with what I have got selected in the Local Data Filter () and the row count needs to be updated with my filter selection.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Tabulate(
	Add Table(
		Column Table( Grouping Columns( :Parameter1 ) ),
		Row Table( Grouping Columns( :Wafer ) )
	),
	Local Data Filter(
		Conditional,
		Add Filter(
		
		// my filter selection goes here 
			
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 11:21:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-count-number-of-rows-generated-by-Tabulate/m-p/766370#M94645</guid>
      <dc:creator>Neo</dc:creator>
      <dc:date>2024-06-18T11:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to count number of rows generated by Tabulate()?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-count-number-of-rows-generated-by-Tabulate/m-p/766382#M94647</link>
      <description>&lt;P&gt;you could use &lt;FONT face="courier new,courier"&gt;make into data table&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

table = dt &amp;lt;&amp;lt; Tabulate( Add Table( Row Table( Grouping Columns( :sex ) ) ) );
	

tabulateTable = table &amp;lt;&amp;lt; Make Into Data Table;
count = N Rows( tabulateTable );
Close( tabulateTable, noSave );
count&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 17 Jun 2024 14:20:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-count-number-of-rows-generated-by-Tabulate/m-p/766382#M94647</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-06-17T14:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to count number of rows generated by Tabulate()?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-count-number-of-rows-generated-by-Tabulate/m-p/766747#M94673</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/26800"&gt;@hogi&lt;/a&gt;&amp;nbsp; Thanks, but the count would not dynamically change when the data filter selection is changed, would it?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 11:35:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-count-number-of-rows-generated-by-Tabulate/m-p/766747#M94673</guid>
      <dc:creator>Neo</dc:creator>
      <dc:date>2024-06-18T11:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to count number of rows generated by Tabulate()?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-count-number-of-rows-generated-by-Tabulate/m-p/766767#M94675</link>
      <description>&lt;P&gt;You can add a button to the window - and click to calculate the rows.&lt;/P&gt;&lt;P&gt;Or automatically calculate the number, triggered by a state handler of the data filter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 11:52:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-count-number-of-rows-generated-by-Tabulate/m-p/766767#M94675</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-06-18T11:52:19Z</dc:date>
    </item>
  </channel>
</rss>

