cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
Choose Language Hide Translation Bar
View Original Published Thread

How normalized column names are replaced with variables

Ken697
Level I
//新增周標準化
weekEMC_HF_C_12_0=Data Table( "周_EMC_HF_C_12um" )<=(n items(weekEMC_HF_C_12_0)-5),j--,
insert into(weekEMC_HF_C_12,weekEMC_HF_C_12_0[j])
);
TRY(Local( {old dt = Current Data Table()},Current Data Table( Data Table( "周_EMC_HF_C_12um" ) );
 For Each( {col, index},weekEMC_HF_C_12,
  col << Set Property("Spec Limits",{LSL( 0.72 ), Show Limits( 0 )}));
 Current Data Table( old dt );
););
weekEMC_HF_C_12 = {"2022W40", "2022W38", "2022W29", "2022W28", "2022W27", "2022W26"};

unable to execute

TRY(Local( {old dt = Current Data Table()},Current Data Table( Data Table( "周_EMC_HF_C_12um" ) );
 For Each( {col, index},weekEMC_HF_C_12,
  col << Set Property("Spec Limits",{LSL( 0.72 ), Show Limits( 0 )}));
 Current Data Table( old dt );
););

how to modify {:"2022W38"n,:"2022W40"n,:"2022W41"n}Display method

 

 

This post originally written in Chinese (Traditional) and has been translated for your convenience. When you reply, it will also be translated back to Chinese (Traditional).

0 REPLIES 0