Forum Discussion
iblock
3 years agoFrequent Visitor
Prior Year Sum in Column
I am trying to create a column that will calculate the sum of "Weighting Base" but for the prior year. As you can see, it is returning only blank values right now. It should, for example, sho...
iblock
3 years agoFrequent Visitor
I only have Contract Year (not the full date) and it is of type Whole Number, so the DATEADD function does not work here.
- DOLEARY853 years agoResident Rockstar
ah okay, try this:
CALCULATE(MAX('Table'[Sum Field]),FILTER('Table','Table'[Year Field]=EARLIER('Table'[Year Field])-1))