Forum Discussion
smithshire
3 years agoFrequent Visitor
Previous 2 years
I currently have a visual that calculates the YTD and the I use the PREVIOUSYEAR function to calculate the full previous year. Is it possible to calculate the year previous to the previous year i.e. 2 years ago?
This is my Previous year measure -
PreYear = CALCULATE([Overall], PREVIOUSYEAR(CalendarTable[Dates]))
= CALCULATE([Overall],DATEADD(CalendarTable[Dates],-2,YEAR))
1 Reply
- AhmedxSuper User
= CALCULATE([Overall],DATEADD(CalendarTable[Dates],-2,YEAR))