<?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 Tabulate a variable column list in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Tabulate-a-variable-column-list/m-p/51147#M29044</link>
    <description>&lt;P&gt;I am using the following to generate a column list, which varies but always has an "X_Clean" in the name:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;col_list = dt&amp;lt;&amp;lt;get column names(string);
	for(i=nitems(col_list), i&amp;gt;0, i--,
		if(!contains(col_list[i], "X_Clean"),
				remove from(col_list, i);
		)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Now I'm trying to create a tabulate box but I'm unsure how to reference this col_list in the Analysis Columns.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dtLUB= vlistbox(dt&amp;lt;&amp;lt; Tabulate(
	Change Item Label( Statistics( Max, " " ) ),
	Show Control Panel( 0 ),
	Add Table(
		Column Table( Analysis Columns( :Date ), Statistics( Max ) ),
		Column Table(
			Analysis Columns(
&lt;FONT color="#FF0000"&gt;Need to insert col_list here somehow&lt;/FONT&gt;
			),
			Statistics( Max )
		),
		Row Table( Grouping Columns( :Entity) )
	),
	SendToReport(
		Dispatch(
			{},
			"Tabulate",
			OutlineBox,
			{Set Title( "PM Counter Summary as of: "|| TimeStamp )}
		)
	),
));&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 12 Feb 2018 23:40:59 GMT</pubDate>
    <dc:creator>MuttonChops</dc:creator>
    <dc:date>2018-02-12T23:40:59Z</dc:date>
    <item>
      <title>Tabulate a variable column list</title>
      <link>https://community.jmp.com/t5/Discussions/Tabulate-a-variable-column-list/m-p/51147#M29044</link>
      <description>&lt;P&gt;I am using the following to generate a column list, which varies but always has an "X_Clean" in the name:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;col_list = dt&amp;lt;&amp;lt;get column names(string);
	for(i=nitems(col_list), i&amp;gt;0, i--,
		if(!contains(col_list[i], "X_Clean"),
				remove from(col_list, i);
		)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Now I'm trying to create a tabulate box but I'm unsure how to reference this col_list in the Analysis Columns.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dtLUB= vlistbox(dt&amp;lt;&amp;lt; Tabulate(
	Change Item Label( Statistics( Max, " " ) ),
	Show Control Panel( 0 ),
	Add Table(
		Column Table( Analysis Columns( :Date ), Statistics( Max ) ),
		Column Table(
			Analysis Columns(
&lt;FONT color="#FF0000"&gt;Need to insert col_list here somehow&lt;/FONT&gt;
			),
			Statistics( Max )
		),
		Row Table( Grouping Columns( :Entity) )
	),
	SendToReport(
		Dispatch(
			{},
			"Tabulate",
			OutlineBox,
			{Set Title( "PM Counter Summary as of: "|| TimeStamp )}
		)
	),
));&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 12 Feb 2018 23:40:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Tabulate-a-variable-column-list/m-p/51147#M29044</guid>
      <dc:creator>MuttonChops</dc:creator>
      <dc:date>2018-02-12T23:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Tabulate a variable column list</title>
      <link>https://community.jmp.com/t5/Discussions/Tabulate-a-variable-column-list/m-p/51150#M29045</link>
      <description>&lt;P&gt;This should work&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dtLUB= vlistbox(dt&amp;lt;&amp;lt; Tabulate(
	Change Item Label( Statistics( Max, " " ) ),
	Show Control Panel( 0 ),
	Add Table(
		Column Table( Analysis Columns( :Date ), Statistics( Max ) ),
		Column Table(
			Analysis Columns(
				eval( col_list )
			),
			Statistics( Max )
		),
		Row Table( Grouping Columns( :Entity) )
	),
	SendToReport(
		Dispatch(
			{},
			"Tabulate",
			OutlineBox,
			{Set Title( "PM Counter Summary as of: "|| TimeStamp )}
		)
	),
));&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 13 Feb 2018 02:09:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Tabulate-a-variable-column-list/m-p/51150#M29045</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-02-13T02:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: Tabulate a variable column list</title>
      <link>https://community.jmp.com/t5/Discussions/Tabulate-a-variable-column-list/m-p/51536#M29215</link>
      <description>Thanks Jim!</description>
      <pubDate>Mon, 19 Feb 2018 15:48:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Tabulate-a-variable-column-list/m-p/51536#M29215</guid>
      <dc:creator>MuttonChops</dc:creator>
      <dc:date>2018-02-19T15:48:35Z</dc:date>
    </item>
  </channel>
</rss>

