Forum Discussion
joep78
Helper III
5 years agoCalculate start value versus final period
Hi all, I'm looking for a solution that calculate the difference between my start value and the target value in the final period: Target value A 1200 year Forecast...
Fowmy
Super User
5 years agojoep78
Create a measure as follows:
M =
var __year = CALCULATE( max(table[year]) , all(table])) return
var __lastvalue = CALCULATE( sum(table[forecast]), table[year] = __year )
return
max(target[value]) - __lastvalue
joep78
Helper III
5 years agoHi Fowmy,
Thanks for this solution, this is really helpful!
Regards,
Joep