超出规格的表格摘要你好,
我有许多列的表,其中包含规格限制作为属性。
如何创建每列不符合规格的百分比表。
如果可能,将选项用作表摘要(以定义组),新列将是 %OOS。
* 或三列:低于 LSL、高于 USL 和外部总计(作为贡献图中的“长期 Sigma”表)
提前致谢!
阿萨夫
回复:不合规格的表格摘要
你好,
只需少量修改即可正常工作
感谢您的快速和大力支持!
阿萨夫
Col_names = 当前数据表() << 获取列名();
Num_of_cols = N 项(Col_names);
columnsWithLimList = {};
For( i = 1, i <= Num_of_cols, i++,
Spec_Lims = Column (Char(Col_Names[i])) << Get Property ("Spec Limits");
//Spec_USL_num = Num (Word(1,Word (2,Char(Spec_Lims[2]),"("),")"));
//Spec_LSL_num = Num (Word(1,Word (2,Char(Spec_Lims[1]),"("),")"));
if( //缺少 (Spec_USL_num)!=0 || 缺少 (Spec_LSL_num)!=0,
isEmpty(Spec_Lims),
继续();
);
插入 (columnsWithLimList, Char( Col_Names[i] ));
);
PC = Expr("过程能力(
无形的,
过程变量(“);
For( i = 1, i <= N 项 (columnsWithLimList), i++,
个人电脑 = 个人电脑 || ",:"||Char(columnsWithLimList[i]);
);
PC = PC|| "),
能力箱线图(0),
在 Sigma 汇总报告 (1) 中,
目标图(0),
能力指数图( 0 )
)";
评估(解析(PC));
回复:不合规格的表格摘要试试这个脚本,它会产生以下输出

这是脚本
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\Semiconductor Capability.jmp" );
// Get all of the continuous columns
colList = dt << get column names( string, continuous );
// For use as an example, delete some spec limits
For( i = 3, i <= N Items( colList ), i = i + 6,
Column( dt, colList[i] ) << delete property( "Spec Limits" )
);
// Create the Process Capability Summary Report
PC = Process Capability(
invisible,
Process Variables( Eval( colList ) ),
Spec Limits Dialog( "No (skip columns with no spec limits)" ),
Capability Box Plots( 0 ),
Within Sigma Summary Report( 1 ),
Goal Plot( 0 ),
Capability Index Plot( 0 )
);
// Get a list of columns processed
processedColList = report(PC)["Within Sigma Capability Summary Report"][String Col Box( 1 )] << get;
// Create an output table
dt2 = Report( PC )["Within Sigma Capability Summary Report"][Table Box( 1 )] << make into data table( invisible );
PC << close window;
// Create a new column that will allow the original order
// of the columns to be listed
dt2 << New Column( "roworder" );
// Process through the data table, and if the column is not found
// in the processed data, add it to the data table
For( i = 1, i <= N Items( colList ), i++,
If( N Rows( Loc( ProcessedColList, colList[i] ) ) == 1,
dt2:roworder[Loc( ProcessedColList, colList[i] )[1]] = i,
dt2 << add rows( 1 );
dt2:Process[N Rows( dt2 )] = colList[i];
dt2:roworder[N Rows( dt2 )] = i;
)
);
// Sort the data into the original order
dt2 = dt2 << sort( by( :roworder ), order( ascending ), replace table( 1 ) );
// Get rid of the no longer needed roworder column
dt2 << delete columns( "roworder" );
// Create the new report
nw = New Window( "Summary Report", <<JOURNAL></JOURNAL>
回复:不合规格的表格摘要你好,
谢谢你的支持!
这个选项确实可以支持我的要求。
但是(我在开始时没有提到它),我有很多专栏,而且有些专栏没有限制 - 所以除非我添加限制,否则流程能力不支持。
我正在寻找(可能)将替换汇总表的 JSL,并且当参数没有限制时 - 将返回空单元格(“。”)
回复:不合规格的表格摘要你好,
如果我理解你的话,那么你只需要使用分析>>质量和过程>>过程能力。
在此报告中,您必须选择摘要报告。 摘要报告包含请求的数据。 如果没有,您必须通过右键单击表格标题手动自定义它。 在“列”下有所有可能的选项。 如果您愿意,可以将其转换为新的数据表。
格鲁瑟,
马文