Forum Discussion
Anmolgan
Post Prodigy
6 years agoYear Over Calculation/Same Period Last Year Coming Wrong?
Hi, I am looking to calculate Same Period Last Year calculations, I have dataset for atleast 3 years, now I want the sales to work year wise, month wise and Date range wise (All should give a compari...
- 6 years ago
As discussed
Last Year Sales = CALCULATE([Total Sales Sumx],DATEADD('Date'[Date], -1,YEAR)) This Year Sales = CALCULATE([Total Sales Sumx],DATEADD('Date'[Date], 0, year))
amitchandak
Super User
6 years agoAs discussed
Last Year Sales = CALCULATE([Total Sales Sumx],DATEADD('Date'[Date], -1,YEAR))
This Year Sales = CALCULATE([Total Sales Sumx],DATEADD('Date'[Date], 0, year))- Anmolgan6 years ago
Post Prodigy
amitchandak thanks for your end to end support on the issue. Much appreciated!!