WestWinter
6 years agoHelper II
How do I convert this Measure to a Calculated Column?
Z Measure = var mean = AVERAGEX(
KEEPFILTERS(VALUES('R(All)'[Date])),
CALCULATE(SUM('R(All)'[Value])))
var SD =
STDEVX.S(
KEEPFILTERS(VALUES('R(All)'[Date])),
CALCULATE(SUM('R(All)'[Value])))
return (calculate(LASTNONBLANKVALUE('R(All)'[Date], sum('R(All)'[Value])))-mean)/SDSo my above Measure helps return the latest Z-Score according to latest date.
However, as I would need to plot a chart with the Z-Score, which I realize is not possible with the above measure. I would like to have it in a Calculated Column if possible; where each row will have its own Z-Score so as to show it in a nice graph of how the z-score changes.