<?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: Issue adding control chart to dashboard in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Issue-adding-control-chart-to-dashboard/m-p/655970#M84494</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/28393"&gt;@barnabei&lt;/a&gt;&amp;nbsp;- the issue here is the expression passed in the where() clause.&amp;nbsp; JMP is retaining this expression as written, and when the script for the platform is saved and rerun, the variables no longer exist.&amp;nbsp; This would also impact other actions that require the ability to rerun a platform from a script, such as publishing to JMP Live, or saving in a JMP Project.&amp;nbsp; This example shows the same issue:&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;dt=Open("$SAMPLE_DATA/Big Class.jmp");
level=15;
biv = dt &amp;lt;&amp;lt; Bivariate(X(:height),Y(:weight),Where(:age==level));
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One way to fix it is to manipulate the expression to put in the actual level:&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;dt=Open("$SAMPLE_DATA/Big Class.jmp");
level=15;
Eval(EvalExpr(biv = dt &amp;lt;&amp;lt; Bivariate(X(:height),Y(:weight),Where(:age==Expr(level)))));
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Hope that helps!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Jul 2023 11:24:16 GMT</pubDate>
    <dc:creator>danschikore</dc:creator>
    <dc:date>2023-07-06T11:24:16Z</dc:date>
    <item>
      <title>Issue adding control chart to dashboard</title>
      <link>https://community.jmp.com/t5/Discussions/Issue-adding-control-chart-to-dashboard/m-p/655511#M84460</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to add several control charts to a dashboard and having issues.&amp;nbsp; Specifically, seeing the attached error when trying to add the charts to a dashboard.&amp;nbsp; I've tried this using Window &amp;lt; Combine Windows and also by creating a new Dashboard and using the Dashboard builder.&amp;nbsp; Getting the same error for each.&amp;nbsp; Control charts created using Control Chart Builder.&amp;nbsp; Any thoughts?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Matt&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 15:54:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Issue-adding-control-chart-to-dashboard/m-p/655511#M84460</guid>
      <dc:creator>barnabei</dc:creator>
      <dc:date>2023-07-05T15:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Issue adding control chart to dashboard</title>
      <link>https://community.jmp.com/t5/Discussions/Issue-adding-control-chart-to-dashboard/m-p/655519#M84461</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/28393"&gt;@barnabei&lt;/a&gt;&amp;nbsp;- I'm unsure from the error whether it is the platform or perhaps the data table that is causing Dashboard Builder to fail to create the object.&amp;nbsp; It might be helpful to know the JMP version, how the data table was created, and what the script for the Control Chart Builder looks like.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Dan&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 16:16:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Issue-adding-control-chart-to-dashboard/m-p/655519#M84461</guid>
      <dc:creator>danschikore</dc:creator>
      <dc:date>2023-07-05T16:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Issue adding control chart to dashboard</title>
      <link>https://community.jmp.com/t5/Discussions/Issue-adding-control-chart-to-dashboard/m-p/655530#M84462</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/4587"&gt;@danschikore&lt;/a&gt;&amp;nbsp;, the JMP version is 17.0.0 (Mac).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See attached for the data table input (data deleted)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Script for creating control charts:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dtSum = Current Data Table();
Summarize( assaylist = by( :Assay x Ctl ) );
NAssays = Length( assaylist );
For( i = 1, i &amp;lt;= NAssays, i++,
	dtSum &amp;lt;&amp;lt; Control Chart Builder(
		Variables(
			Subgroup( :batch_id ),
			Y( :"Mean(Inf conc Mean Median)"n ),
			Phase( :Ctl lot x Assay x Ctl )
		),
		Get Limits(
			"/Users/matt.barnabei/Desktop/QC Plotting Data/QC Limit Summary.jmp"
		),
		Show Control Panel( 0 ),
		Where( :Assay x Ctl == assaylist[i] ),
		SendToReport(
			Dispatch(
				{},
				"Control Chart Builder",
				FrameBox,
				{Frame Size( 0, 0 )}
			)
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Jul 2023 16:49:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Issue-adding-control-chart-to-dashboard/m-p/655530#M84462</guid>
      <dc:creator>barnabei</dc:creator>
      <dc:date>2023-07-05T16:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Issue adding control chart to dashboard</title>
      <link>https://community.jmp.com/t5/Discussions/Issue-adding-control-chart-to-dashboard/m-p/655970#M84494</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/28393"&gt;@barnabei&lt;/a&gt;&amp;nbsp;- the issue here is the expression passed in the where() clause.&amp;nbsp; JMP is retaining this expression as written, and when the script for the platform is saved and rerun, the variables no longer exist.&amp;nbsp; This would also impact other actions that require the ability to rerun a platform from a script, such as publishing to JMP Live, or saving in a JMP Project.&amp;nbsp; This example shows the same issue:&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;dt=Open("$SAMPLE_DATA/Big Class.jmp");
level=15;
biv = dt &amp;lt;&amp;lt; Bivariate(X(:height),Y(:weight),Where(:age==level));
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One way to fix it is to manipulate the expression to put in the actual level:&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;dt=Open("$SAMPLE_DATA/Big Class.jmp");
level=15;
Eval(EvalExpr(biv = dt &amp;lt;&amp;lt; Bivariate(X(:height),Y(:weight),Where(:age==Expr(level)))));
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Hope that helps!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2023 11:24:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Issue-adding-control-chart-to-dashboard/m-p/655970#M84494</guid>
      <dc:creator>danschikore</dc:creator>
      <dc:date>2023-07-06T11:24:16Z</dc:date>
    </item>
  </channel>
</rss>

