Hi @danschikore , the JMP version is 17.0.0 (Mac).
See attached for the data table input (data deleted)
Script for creating control charts:
dtSum = Current Data Table();
Summarize( assaylist = by( :Assay x Ctl ) );
NAssays = Length( assaylist );
For( i = 1, i <= NAssays, i++,
dtSum << 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 )}
)
)
)
);