Thanks @jthi This is very helpful. I see in the example it has Site as the X variable, in my case I have in that sequnce, DIB_id, Site, and then Part_id. I assume that code should be like this in my case:
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Semiconductor Capability.jmp");
var = dt << Variability Chart(
Y(:NPN1, :PNP1),
Model("Main Effect"),
X(:Dib_id),
X(:SITE),
X(:Part_id),
Historical Sigma(0),
Invisible
);
var << "Gauge R&R"n();
wait(0);
result_ref = Report(var)[OutlineBox("Gauge R&R")];
wait(0);
dt_result = result_ref[TableBox(1)] << Make Combined Data Table;
var << close window;
Does that sound right? Thanks a lot!