嗨 JMP 社区,
以下是我要生成的报告。 我想通过更改本地数据过滤器中的过滤器来查看 SI1 到 SI10 的单个报告(“处理”列中的值)。 因为我希望这个过程在未来能够自动化,所以我导出了它的脚本。 但是当我再次运行脚本时,发生了错误。 任何人都可以帮助识别脚本中的错误吗? 我怀疑这是因为列切换器列出了 SI1 到 SI10,它们并不是真正的列,而是“进程”列中的值,但我不确定这是否是问题所在,也不知道如何解决。 Woudl 非常感谢您对此的任何想法。 谢谢!
脚本:
New Window("Cpk with one Column Switcher",
H List Box(Column Switcher(:SI6, {:SI1, :SI2, :SI3, :SI4, :SI5, :SI6, :SI7, :SI8, :SI9, :SI10},
SendToReport(Dispatch({}, "Column Switcher", ColumnSwitcherContextOutlineBox, {OutlineCloseOrientation("Vertical")}))),
V List Box(Control Chart Builder(Size(554, 492), Variables(Y(:SI6)), Local Data Filter),
Control Chart Builder(Size(518, 448), Show Two Shewhart Charts(0), Show Control Panel(0), Variables(Y(:SI6)),
Chart(Points(Statistic("Individual")), Limits(Sigma("Moving Range")), Warnings(Test 1(1), Test 2(1), Test 3(1), Test 4(1), Test 5(1), Test 6(1), Test 7(1), Test 8(1))),
SendToReport(Dispatch({}, "", ScaleBox, {Format("Best", 12), Min(37), Max(64), Inc(100), Minor Ticks(0)}),
Dispatch({}, "graph display 1 title", TextEditBox, {Set Text("Last 25 points")}),
Dispatch({}, "SI6 Limit Summaries", OutlineBox, {Close(1)}))))))