Forum Discussion
seenai
7 years agoHelper II
Claculated column resulting blank values
Hi, I have added a calculated column 'LY'. But it is giving the blank values. (Note : I have made a MEASURE in the same way, which is working. But I need a column) Formula used is LY = CALCU...
yelsherif
7 years agoResolver IV
The scope of this column function is the current row, you probably will not get a return value from current row.
Instead, you can create a variable that calculates the needed value as follows (this is an experiment!)
LY =
var theCalculation = CALCULATE(SUM(KPI_MfgExp[Actual]),PREVIOUSYEAR(KPI_MfgExp[Month]))
return LY