Forum Discussion
Anonymous
7 years agoNot applicable
Needs to have same dates in Previous Year Using DAX
I have some Random Dates From Current Year and I want to have same Dates in Previous Year. I tried below DAX to do that but i am not able to access table Varibale below. First I get all dates in ...
Anuradha
7 years agoFrequent Visitor
Use DATEADD function witht the YEAR.
Sales.LY = CALCULATE([Sales], DATEADD(Subscribers[Sale Date].[Date], -1, YEAR))