<?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 import control limit to column property? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-import-control-limit-to-column-property/m-p/277526#M53918</link>
    <description>&lt;P&gt;I try to do the for loop ..&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dt is my raw data.dt_spec is the spec file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;things seem to work except on the line below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;CODE class=" language-jsl"&gt;limrow = Try( (dt_spec &amp;lt;&amp;lt; get rows where( dt_spec:Label == ColList[i]))[1], . ); &lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it doesn't return the number of rows. However, when I replace&amp;nbsp;&lt;CODE class=" language-jsl"&gt;ColList[i] with&amp;nbsp;the&amp;nbsp;name,&amp;nbsp;it&amp;nbsp;works&amp;nbsp;fine.&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=" language-jsl"&gt;Any&amp;nbsp;idea&amp;nbsp;why&amp;nbsp;?&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;ColList = dt&amp;lt;&amp;lt; get column names (numeric);

for(i=1, i&amp;lt;= n items(ColList),i++,
	limrow = Try( (dt_spec &amp;lt;&amp;lt; get rows where( dt_spec:Label == ColList[i]))[1], . );

	controllimits = {Levey Jennings(LCL( b ), UCL( c ) )};
	Substitute Into( controllimits, Expr( b ), dt_spec:_LCL[limrow] );
	Substitute Into( controllimits, Expr( c ), dt_spec:_UCL[limrow] );
	Column( dt, Char( ColList[i] ) ) &amp;lt;&amp;lt; set property( "control limits", Eval( controllimits ) );

);

&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 08 Jul 2020 21:02:12 GMT</pubDate>
    <dc:creator>yanee</dc:creator>
    <dc:date>2020-07-08T21:02:12Z</dc:date>
    <item>
      <title>How to import control limit to column property?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-import-control-limit-to-column-property/m-p/277472#M53908</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 2 separate files. One is the raw data and another is the control limit file.&lt;/P&gt;&lt;P&gt;How can I import all the control limit to the raw data file column property ? This is for Levey Jenning control chart.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 23:31:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-import-control-limit-to-column-property/m-p/277472#M53908</guid>
      <dc:creator>yanee</dc:creator>
      <dc:date>2023-06-09T23:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to import control limit to column property?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-import-control-limit-to-column-property/m-p/277480#M53909</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2020-07-08 at 3.51.04 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/25212iD02C25F4E3E4C143/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2020-07-08 at 3.51.04 PM.png" alt="Screen Shot 2020-07-08 at 3.51.04 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; Make a control charts in Control Chart Builder&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use get limits to get the control lists.&lt;/P&gt;
&lt;P&gt;Use Save Limits to save the limits to the column property&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are several other ways to do this.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 19:52:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-import-control-limit-to-column-property/m-p/277480#M53909</guid>
      <dc:creator>Byron_JMP</dc:creator>
      <dc:date>2020-07-08T19:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to import control limit to column property?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-import-control-limit-to-column-property/m-p/277513#M53917</link>
      <description>&lt;P&gt;I try to select get limit but nothing happened. Any idea why ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 20:29:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-import-control-limit-to-column-property/m-p/277513#M53917</guid>
      <dc:creator>yanee</dc:creator>
      <dc:date>2020-07-08T20:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to import control limit to column property?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-import-control-limit-to-column-property/m-p/277526#M53918</link>
      <description>&lt;P&gt;I try to do the for loop ..&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dt is my raw data.dt_spec is the spec file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;things seem to work except on the line below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;CODE class=" language-jsl"&gt;limrow = Try( (dt_spec &amp;lt;&amp;lt; get rows where( dt_spec:Label == ColList[i]))[1], . ); &lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it doesn't return the number of rows. However, when I replace&amp;nbsp;&lt;CODE class=" language-jsl"&gt;ColList[i] with&amp;nbsp;the&amp;nbsp;name,&amp;nbsp;it&amp;nbsp;works&amp;nbsp;fine.&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=" language-jsl"&gt;Any&amp;nbsp;idea&amp;nbsp;why&amp;nbsp;?&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;ColList = dt&amp;lt;&amp;lt; get column names (numeric);

for(i=1, i&amp;lt;= n items(ColList),i++,
	limrow = Try( (dt_spec &amp;lt;&amp;lt; get rows where( dt_spec:Label == ColList[i]))[1], . );

	controllimits = {Levey Jennings(LCL( b ), UCL( c ) )};
	Substitute Into( controllimits, Expr( b ), dt_spec:_LCL[limrow] );
	Substitute Into( controllimits, Expr( c ), dt_spec:_UCL[limrow] );
	Column( dt, Char( ColList[i] ) ) &amp;lt;&amp;lt; set property( "control limits", Eval( controllimits ) );

);

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Jul 2020 21:02:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-import-control-limit-to-column-property/m-p/277526#M53918</guid>
      <dc:creator>yanee</dc:creator>
      <dc:date>2020-07-08T21:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to import control limit to column property?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-import-control-limit-to-column-property/m-p/277537#M53922</link>
      <description>&lt;P&gt;I believe you need to return the column names a character strings for the Get Rows Where() to work&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;ColList = dt&amp;lt;&amp;lt; get column names (numeric,string);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Jul 2020 21:32:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-import-control-limit-to-column-property/m-p/277537#M53922</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-07-08T21:32:54Z</dc:date>
    </item>
  </channel>
</rss>

