<?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 to get the Column Switcher to get all columns in a Data Table to use for a control chart in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-get-the-Column-Switcher-to-get-all-columns-in-a-Data/m-p/418315#M66732</link>
    <description>&lt;P&gt;&amp;nbsp;Thank you&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2687"&gt;@txnelson&lt;/a&gt;&amp;nbsp; for your help it worked exactly how I needed it to.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Sep 2021 20:33:35 GMT</pubDate>
    <dc:creator>rmthomas</dc:creator>
    <dc:date>2021-09-14T20:33:35Z</dc:date>
    <item>
      <title>How to get the Column Switcher to get all columns in a Data Table to use for a control chart</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-get-the-Column-Switcher-to-get-all-columns-in-a-Data/m-p/418264#M66726</link>
      <description>&lt;P&gt;Hello Everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to get use the Column Switcher to automatically pull all of the columns in the data table when creating a control chart so I can rotate through all of them at once. I get the control chart to work but not the Column Switcher. I have tried to research it and nothing seems to be working. Any help will be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the code I have been using:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt5= Open("filex");

dt5= Data Table( "filex" );
colNamesList = dt5 &amp;lt;&amp;lt; get Column names (string, Continuous);

Control Chart Builder(
	Size( 534, 464 ),
	Show Control Panel( 0 ),
	Variables( Y( eval(colNamesList) ) ),
	Chart(
		Position( 1 ),
		Limits( Shade Zones( 1 ) ),
		Warnings(
			Test 1( 1 ),
			Test 2( 1 ),
			Test 3( 1 ),
			Test 4( 1 ),
			Test 5( 1 ),
			Test 6( 1 ),
			Test 7( 1 ),
			Test 8( 1 )
		)),
Column Switcher(colNamesList ));&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ryan&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 19:56:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-get-the-Column-Switcher-to-get-all-columns-in-a-Data/m-p/418264#M66726</guid>
      <dc:creator>rmthomas</dc:creator>
      <dc:date>2023-06-09T19:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the Column Switcher to get all columns in a Data Table to use for a control chart</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-get-the-Column-Switcher-to-get-all-columns-in-a-Data/m-p/418282#M66729</link>
      <description>&lt;P&gt;If you run the control chart and set it up the way you want it to have it look, you can then save the script and use it to model what you need to create the script.&amp;nbsp; Here is the results of doing that for your analysis&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt5= Open("filex");
colNamesList = dt5 &amp;lt;&amp;lt; get Column names( string, Continuous );

Control Chart Builder(
	Size( 534, 464 ),
	Show Control Panel( 0 ),
	Variables( Y( Eval( colNamesList[1] ) ) ),
	Chart(
		Position( 1 ),
		Limits( Shade Zones( 1 ) ),
		Warnings(
			Test 1( 1 ),
			Test 2( 1 ),
			Test 3( 1 ),
			Test 4( 1 ),
			Test 5( 1 ),
			Test 6( 1 ),
			Test 7( 1 ),
			Test 8( 1 )
		)
	),
	column switcher( colNamesList[1], Eval( colNamesList ) )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 14 Sep 2021 19:46:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-get-the-Column-Switcher-to-get-all-columns-in-a-Data/m-p/418282#M66729</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-09-14T19:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the Column Switcher to get all columns in a Data Table to use for a control chart</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-get-the-Column-Switcher-to-get-all-columns-in-a-Data/m-p/418315#M66732</link>
      <description>&lt;P&gt;&amp;nbsp;Thank you&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2687"&gt;@txnelson&lt;/a&gt;&amp;nbsp; for your help it worked exactly how I needed it to.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2021 20:33:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-get-the-Column-Switcher-to-get-all-columns-in-a-Data/m-p/418315#M66732</guid>
      <dc:creator>rmthomas</dc:creator>
      <dc:date>2021-09-14T20:33:35Z</dc:date>
    </item>
  </channel>
</rss>

