You are correct, all that has to be done, is to add a << Make Combined Data Table statement just like the one used to create the data table for the Summary Statistics, but point it at the Within Sigma Capability report table or at the Overall Sigma Capability table.
Current Report()["Within Sigma Capability", Table Box( 1 )] << Make Combined Data Table;
This of course assumes the script also has been modified to display the Process Capability reports.
Names Default To Here(1);
Clear Log();
dt = Open("$SAMPLE_DATA/Semiconductor Capability.jmp");
cnames = dt << get column names( string, continuous );
// for simplicity, only use 5 of the columns
remove from(cnames,6,nitems(cnames));
//col_names = dt << get column group ("Processes");
cnames = cnames[1::N Items (cnames)];
// Use the invisible element to hide output.
dist = dt << Distribution(invisible,
Columns(evalList(cnames)),
Summary Statistics(1),
Customize Summary Statistics(
Std Err Mean(0),
Upper Mean Confidence Interval(0),
Lower Mean Confidence Interval(0),
N(0),
Skewness(1),
Kurtosis(1),
CV(1),
Minimum(1),
Maximum(1),
Median(1)
),
Process Capability( Use Column Property Specs ),
// Add a By group to get results for each wafer within each lot
by(lot_id,wafer)
);
current report()["Summary Statistics", Table Box( 1 )] << Make Combined Data Table;
Current Report()["Within Sigma Capability", Table Box( 1 )] << Make Combined Data Table;
Jim