Forum Discussion
vincentakatoh
8 years agoHelper IV
Cpk DAX
Hi, Need help to write DAX to calculate Cpk Cpk formula Sample data current dax Xbar = AVERAGE(Table[MeasureValue])
STDEV = STDEV.S(TableMeasureValue]) Abbreviations ...
- 8 years ago
Not entirely sure how you are using this, but perhaps something like:
Cpk = VAR CpU = (MAX([LimitUpper]) - [Xbar])/3*[STDEV] VAR CpL = ([Xbar] - MAX([LimitLower]))/3*[STDEV] RETURN MIN(CpU,CpL)
vincentakatoh
8 years agoHelper IV
Awesome and thanks alot.
PS. added a "( )" for ( 3*[STDEV] )
Cpk = VAR CpU = (MAX([LimitUpper]) - [Xbar])/(3*[STDEV]) VAR CpL = ([Xbar] - MAX([LimitLower]))/(3*[STDEV]) RETURN MIN(CpU;CpL)
Greg_Deckler
8 years agoCommunity Champion
vincentakatoh- I created a Quick Measure page for these kinds of process measures if you need any others or if you want to check that I didn't make any other mistakes!