Hi @amiro ,
I've put together a script that you can run after you perform the 'save summaries' as @Jonas_Rinne has suggested, the user points JMP to the original data table and the summary data table and then a 'Data View' of those rows appears in the original table (as I thought it may be useful to keep the links 'live' rather than sub-setting). You could easily pair this with the workflow builder for the initial creation of the control charts and the summary data tables.
//Get list of open data tables
DTlist=get data table list();
//Create User Selection Window to pick out the 'before' and 'after' tables that will be used to filter out the failed runs
New Window( "Test",
Text Box ("Use this script after running the 'Save Summaries' option in Control Chart Builder with Test 1 active"),
V List Box(
"Test",
OGOB = Outline Box(
"Select your original data table",
OGList = List Box( dtlist )
),
SummOB =
Outline Box( "Select your summary table" ,
SummList = List Box(dtlist)
),
Button Box("OK", (dtorigname=oglist<<get selected; dtsummname=summlist<<get selected; run_expr;));
));
//Find the rows where Test Failures = 1 and filter out with data view in the original table
Run_expr=expr(
//Save Summaries
dtorig=Data Table(dtorigname[1]);
dtsumm=Data Table(dtsummname[1]);
//Get the failed rows where the test failure has occurred
failedrows=dtsumm<<Get Rows where (:test failures == "1");
//Go back to the original data table and select the same rows and provide a data view
listdt=dtorig<<select rows(failedrows)<<data view;);
“All models are wrong, but some are useful”