Hi all,
I'm trying to calculate a figure based on a previous total, I need to decrement two columns in order to calculate but having a few issues.
My data and required output looks like
I have tried the following but cant get MeasureX to calculate correctly. MeasureX just needs to show the total for the previous year and previous level i.e. 2015 level 2 = 2014 level 1. Both coumns are whole numbers.
The forula I have tried are:
=calculate(sum(table([value]),table[Year]-1,table[level]-1)
=calculate( sum(table[value]), filter(all(table[Year]),table[Year]-1), filter(all(table[Level),table[level]-1) )
Any ideas? I thought this would be straight forward
Thanks