<?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: Set column name with a string JSL in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Set-column-name-with-a-string-JSL/m-p/46418#M26455</link>
    <description>&lt;P&gt;Thanks for the help both of you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It was as easy as:&lt;/P&gt;&lt;PRE&gt;Y(column(string))&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought i've tried it, but it turned out that i called "columns" instead of "column", so it was a very easy fix.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the quick and accurate help!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Thu, 26 Oct 2017 06:58:08 GMT</pubDate>
    <dc:creator>DSA</dc:creator>
    <dc:date>2017-10-26T06:58:08Z</dc:date>
    <item>
      <title>Set column name with a string JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Set-column-name-with-a-string-JSL/m-p/46387#M26443</link>
      <description>&lt;P&gt;Hey everyone, i have a simple problem that i am struggeling with.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've looked in various discussions but i cannot get it to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a string with column names which i am loading from a separate file, and i want use that string as a column in the control chart builder like this:&lt;/P&gt;&lt;PRE&gt;string="Concentration (‰)";


Control Chart Builder(
	Size( 480, 350 ),
	Show Two Shewhart Charts( 0 ),
	Show Control Panel( 0 ),
	Show Capability( 0 ),
	Variables(
		Subgroup( :RowNumber ),
		Subgroup( :BatchID, Position( 1 ) ),
		Y(:name(string)) // SET THE STRING IN HERE
	),
	Chart( Points( Statistic( "Individual" ) ), Limits( Sigma( Levey Jennings ) ) )
);&lt;/PRE&gt;&lt;P&gt;How do i get the Y variaible to accept the string as a column name?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 13:42:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Set-column-name-with-a-string-JSL/m-p/46387#M26443</guid>
      <dc:creator>DSA</dc:creator>
      <dc:date>2017-10-25T13:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Set column name with a string JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Set-column-name-with-a-string-JSL/m-p/46388#M26444</link>
      <description>&lt;P&gt;You can use the Column() function. See the link below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.jmp.com/support/help/Columns.shtml" target="_self"&gt;http://www.jmp.com/support/help/Columns.shtml&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 13:45:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Set-column-name-with-a-string-JSL/m-p/46388#M26444</guid>
      <dc:creator>ih</dc:creator>
      <dc:date>2017-10-25T13:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: Set column name with a string JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Set-column-name-with-a-string-JSL/m-p/46392#M26446</link>
      <description>&lt;P&gt;I had a similar question. The script is similar. See this post:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.jmp.com/t5/Discussions/How-to-rename-columns-using-a-second-data-table/td-p/41065" target="_blank"&gt;https://community.jmp.com/t5/Discussions/How-to-rename-columns-using-a-second-data-table/td-p/41065&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I saw that you have units in the column name. Do you know about the Units column property?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 15:08:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Set-column-name-with-a-string-JSL/m-p/46392#M26446</guid>
      <dc:creator>markschahl</dc:creator>
      <dc:date>2017-10-25T15:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set column name with a string JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Set-column-name-with-a-string-JSL/m-p/46418#M26455</link>
      <description>&lt;P&gt;Thanks for the help both of you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It was as easy as:&lt;/P&gt;&lt;PRE&gt;Y(column(string))&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought i've tried it, but it turned out that i called "columns" instead of "column", so it was a very easy fix.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the quick and accurate help!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2017 06:58:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Set-column-name-with-a-string-JSL/m-p/46418#M26455</guid>
      <dc:creator>DSA</dc:creator>
      <dc:date>2017-10-26T06:58:08Z</dc:date>
    </item>
  </channel>
</rss>

