<?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: JSL: How can I set the variables for process capability from a list? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JSL-How-can-I-set-the-variables-for-process-capability-from-a/m-p/805245#M98340</link>
    <description>&lt;P&gt;I know that this thread is old and there are posted solutions that may have worked. However, I had the need to do exactly the same thing that this topic thread&amp;nbsp; addressed and found that the accepted solution didn't work for me. The curly braces produced the error message below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Process Capability cannot be launched because none of the processes can be found in the data table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using the Eval() function worked for me, but I did not need to use an index variable.&amp;nbsp; &amp;nbsp;I was able to generate the report without a For Loop and the Process Capability Analysis function correctly resolved all of the Process Variables that were found in colList.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS: My need was to calculate Cpk's for many tests, so only the Within Sigma Summary Report was enabled in my script snippet.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;colList = dt_data &amp;lt;&amp;lt; get column names;
ncols = N Items( colList );

Process Capability(
	Process Variables( Eval( colList ) ),
	Moving Range Method( Average of Moving Ranges ),
	Capability Box Plots( 0 ),
	Individual Detail Reports( 0 ),
	Goal Plot( 0 ),
	Within Sigma Summary Report( 1 ),
	Capability Index Plot( 0 ),
	Process Performance Plot( 0 )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sun, 13 Oct 2024 18:09:08 GMT</pubDate>
    <dc:creator>DSchweitzer</dc:creator>
    <dc:date>2024-10-13T18:09:08Z</dc:date>
    <item>
      <title>JSL: How can I set the variables for process capability from a list?</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-How-can-I-set-the-variables-for-process-capability-from-a/m-p/15305#M14078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt;my list&lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt; of &lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt;dataColName&lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt;contains&lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt; the &lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt;column headers&lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt;that&lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt;I&lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt;want to&lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt;use&lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt; variables for process capability&lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dataColName = dt_data &amp;lt;&amp;lt; GetColumnNames( Numeric, String );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;repWin = New Window( sTableName, container = V List Box() );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For( k = 1, k &amp;lt;= N Items( dataColName ), k++, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; content = V List Box(&lt;/P&gt;&lt;P&gt;&amp;nbsp; dt_data_sub &amp;lt;&amp;lt;&amp;nbsp; Process Capability(&lt;/P&gt;&lt;P&gt;&amp;nbsp; //Process Variables( :Assay, :Dissolution, :Weight ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Process Variables( dataColName&lt;K&gt; ),&lt;/K&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Individual Detail Reports( 1 ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Capability Box Plots( 0 ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Within Sigma Summary Report( 1 ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Name( "AIAG (Ppk) Labeling" )(0),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Goal Plot( 0, Show Within Sigma Points( 1 ), Show Overall Sigma Points( 0 ) ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; {dataColName&lt;K&gt; &amp;lt;&amp;lt; Process Capability Analysis(&lt;/K&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Overall Sigma Capability( 0 ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Nonconformance( 0 ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Histogram( 0 ))}&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp; );&lt;/P&gt;&lt;P&gt;&amp;nbsp; container &amp;lt;&amp;lt; Append( content );&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt;Why tells&lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt;me&lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt;the&lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt;log:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;"Specified Column not found in data table. in access or evaluation of 'List' , {/*###*/dataColName, k}&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Process Capability cannot be launched because none of the processes can be found in the data table." ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt;It works fine in &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt;Control Chart (Chart Col (dataColName&lt;K&gt;, ...&lt;/K&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt;regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt;Uwe&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Nov 2015 10:53:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-How-can-I-set-the-variables-for-process-capability-from-a/m-p/15305#M14078</guid>
      <dc:creator>uwe_hiss</dc:creator>
      <dc:date>2015-11-09T10:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: JSL: How can I set the variables for process capability from a list?</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-How-can-I-set-the-variables-for-process-capability-from-a/m-p/15306#M14079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Goal &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_emote jive_macro" src="https://community.jmp.com/7.0.4.3b79b96/images/emoticons/happy.png"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555555; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Process Variables( { dataColName&lt;K&gt; } ),&lt;/K&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Nov 2015 11:54:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-How-can-I-set-the-variables-for-process-capability-from-a/m-p/15306#M14079</guid>
      <dc:creator>uwe_hiss</dc:creator>
      <dc:date>2015-11-09T11:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: JSL: How can I set the variables for process capability from a list?</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-How-can-I-set-the-variables-for-process-capability-from-a/m-p/15307#M14080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know why, but from I've noticed that whether an argument is evaluated or not varies &lt;SPAN style="font-size: 10pt;"&gt;among platforms. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Here, the&lt;/SPAN&gt; argument of &lt;SPAN style="color: #555555; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff; font-size: 10pt;"&gt;&lt;EM&gt;Process Variables()&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; appears&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; not to be evaluated; a column name is explicitly required. However using a variable should work if the evaluation is forced with&lt;EM&gt; Eval()&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0px; font-size: 17px; line-height: normal; font-family: Courier;"&gt;&lt;SPAN style="color: #032ce4;"&gt;Eval&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;dataColName&lt;STRONG&gt;[&lt;/STRONG&gt;k&lt;STRONG&gt;])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Nov 2015 12:16:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-How-can-I-set-the-variables-for-process-capability-from-a/m-p/15307#M14080</guid>
      <dc:creator>ms</dc:creator>
      <dc:date>2015-11-09T12:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: JSL: How can I set the variables for process capability from a list?</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-How-can-I-set-the-variables-for-process-capability-from-a/m-p/15308#M14081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi MS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the tip.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt;I found out,&lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt;it&lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt;works&lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt;with&lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt;additional&lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt;braces.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: 'Segoe UI'; font-size: 14px;"&gt;Uwe&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Nov 2015 12:26:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-How-can-I-set-the-variables-for-process-capability-from-a/m-p/15308#M14081</guid>
      <dc:creator>uwe_hiss</dc:creator>
      <dc:date>2015-11-09T12:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: JSL: How can I set the variables for process capability from a list?</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-How-can-I-set-the-variables-for-process-capability-from-a/m-p/805245#M98340</link>
      <description>&lt;P&gt;I know that this thread is old and there are posted solutions that may have worked. However, I had the need to do exactly the same thing that this topic thread&amp;nbsp; addressed and found that the accepted solution didn't work for me. The curly braces produced the error message below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Process Capability cannot be launched because none of the processes can be found in the data table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using the Eval() function worked for me, but I did not need to use an index variable.&amp;nbsp; &amp;nbsp;I was able to generate the report without a For Loop and the Process Capability Analysis function correctly resolved all of the Process Variables that were found in colList.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS: My need was to calculate Cpk's for many tests, so only the Within Sigma Summary Report was enabled in my script snippet.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;colList = dt_data &amp;lt;&amp;lt; get column names;
ncols = N Items( colList );

Process Capability(
	Process Variables( Eval( colList ) ),
	Moving Range Method( Average of Moving Ranges ),
	Capability Box Plots( 0 ),
	Individual Detail Reports( 0 ),
	Goal Plot( 0 ),
	Within Sigma Summary Report( 1 ),
	Capability Index Plot( 0 ),
	Process Performance Plot( 0 )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 13 Oct 2024 18:09:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-How-can-I-set-the-variables-for-process-capability-from-a/m-p/805245#M98340</guid>
      <dc:creator>DSchweitzer</dc:creator>
      <dc:date>2024-10-13T18:09:08Z</dc:date>
    </item>
  </channel>
</rss>

