Skip to Main Content
Spotfire Ideas Portal

Add ability to reference already created values that are defined in a custom expression

Being able to reference already created values that are defined in a custom expression. For example you might use the below custom expression code. I will create an average voltage and standard deviation voltage variables for my typical process. I will then use them to calculate a CPK.

LET TypAvgVoltage = Avg( If([Process]="Typ", [Reference Voltage])) OVER All(),

LET TypStdDevVoltage = StdDev( If([Process]="Typ",[Reference Voltage])) OVER All(),

LET SpecUpperLimit = TypAvgVoltage + 6*TypStdDevVoltage,

(StatisticalUpperLimit-Avg([Reference Voltage])) / 3*StdDev([Reference Voltage]) as [CPKU]

  • Attach files
      Drop here to upload