<?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: Process Capability by group in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Process-Capability-by-group/m-p/658969#M84831</link>
    <description>&lt;P&gt;Which version of JMP are you using? Is there a specific reason for building the message using strings instead of expression (Eval(Parse()) vs Eval(Substitute()) vs Eval(EvalExpr())? Have you checked that the string you are building is correct?&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jul 2023 07:45:51 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2023-07-17T07:45:51Z</dc:date>
    <item>
      <title>Process Capability by group</title>
      <link>https://community.jmp.com/t5/Discussions/Process-Capability-by-group/m-p/658857#M84813</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;May I know where is wrong in the scrip I would like to generate the process capability report by lot_id as below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mylifemyrule_0-1689348013229.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/54705i373DA96753F71298/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mylifemyrule_0-1689348013229.png" alt="mylifemyrule_0-1689348013229.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\semiconductor capability.jmp" );

// Create a complex name for a column to make sure it will be
// processed correctly
dt:NPN1 &amp;lt;&amp;lt; set name( "NPN1-7/Best" );

// Get a list of columns to be used
colList = dt &amp;lt;&amp;lt; get column names( continuous, string );

ProcessFunc = Function( {TheList}, 
	// Move them into a single literal string of the format required
	// for the Process Variables element in the Process Capability
	// platform
	TheVars = ":Name(\!"" || TheList[1] || "\!")";
	For( i = 2, i &amp;lt;= 10, i++,
		TheVars = TheVars || "," || ":Name(\!"" || TheList[i] || "\!")"
	);

	// Run the Process Capability platform, using the literal
	// string "TheVars" 
      pcVar=Eval(Parse("dt &amp;lt;&amp;lt; Process Capability(
      SendToByGroup( Bygroup Default ),
	Process Variables( "|| TheVars|| ")
	{:TheVars &amp;lt;&amp;lt; Process Capability Analysis},
	By( :lot_id )
		
	 ) ,,
	
	Goal Plot( 0 ), Capability Index Plot( 0 ) ),
	
	 );"));
	 pcVar &amp;lt;&amp;lt;Order By( "Within Sigma Cpk Ascending" );
	 pcVar &amp;lt;&amp;lt;Order By( "Overall Sigma Ppk Ascending" );
	 pcVar &amp;lt;&amp;lt;Overall Sigma Summary Report( 1 ),
	 pcVar &amp;lt;&amp;lt; Within Sigma Summary Report( 1 )

); 

Return = ProcessFunc( colList );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 01:01:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Process-Capability-by-group/m-p/658857#M84813</guid>
      <dc:creator>mylifemyrule</dc:creator>
      <dc:date>2023-07-17T01:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Process Capability by group</title>
      <link>https://community.jmp.com/t5/Discussions/Process-Capability-by-group/m-p/658903#M84819</link>
      <description>&lt;P&gt;you have double comma.&lt;/P&gt;&lt;PRE class="language-jsl"&gt;&lt;CODE&gt;	By( :lot_id )
		
	 ) ,,
	
	Goal Plot( 0 ), Capability Index Plot( 0 ) ),&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 03:06:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Process-Capability-by-group/m-p/658903#M84819</guid>
      <dc:creator>WebDesignesCrow</dc:creator>
      <dc:date>2023-07-17T03:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Process Capability by group</title>
      <link>https://community.jmp.com/t5/Discussions/Process-Capability-by-group/m-p/658946#M84824</link>
      <description>&lt;P&gt;it's doesn't work.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 07:10:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Process-Capability-by-group/m-p/658946#M84824</guid>
      <dc:creator>mylifemyrule</dc:creator>
      <dc:date>2023-07-17T07:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: Process Capability by group</title>
      <link>https://community.jmp.com/t5/Discussions/Process-Capability-by-group/m-p/658969#M84831</link>
      <description>&lt;P&gt;Which version of JMP are you using? Is there a specific reason for building the message using strings instead of expression (Eval(Parse()) vs Eval(Substitute()) vs Eval(EvalExpr())? Have you checked that the string you are building is correct?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 07:45:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Process-Capability-by-group/m-p/658969#M84831</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-07-17T07:45:51Z</dc:date>
    </item>
  </channel>
</rss>

