Forum Discussion
Calculate YOY% Difference
- 2 years ago
GVallentgoed , You should join date of you table with date of a Dat table and then try like
Assume you have measure M1 for this year
Year behind = CALCULATE([M1],dateadd('Date'[Date],-1,Year))
Year behind = CALCULATE([M1],SAMEPERIODLASTYEAR('Date'[Date]))Then YOY Measure
YOY% = divide([M1] -[Year behind], [Year behind])
Time Intelligence, Part of learn Power BI https://youtu.be/cN8AO3_vmlY?t=27510
Time Intelligence, DATESMTD, DATESQTD, DATESYTD, Week On Week, Week Till Date, Custom Period on Period,
Custom Period till date: https://youtu.be/aU2aKbnHuWs&t=145s
Power BI — Year on Year with or Without Time Intelligence
https://medium.com/@amitchandak.1978/power-bi-ytd-questions-time-intelligence-1-5-e3174b39f38a
https://www.youtube.com/watch?v=km41KfM_0uA
GVallentgoed , You should join date of you table with date of a Dat table and then try like
Assume you have measure M1 for this year
Year behind = CALCULATE([M1],dateadd('Date'[Date],-1,Year))
Year behind = CALCULATE([M1],SAMEPERIODLASTYEAR('Date'[Date]))
Then YOY Measure
YOY% = divide([M1] -[Year behind], [Year behind])
Time Intelligence, Part of learn Power BI https://youtu.be/cN8AO3_vmlY?t=27510
Time Intelligence, DATESMTD, DATESQTD, DATESYTD, Week On Week, Week Till Date, Custom Period on Period,
Custom Period till date: https://youtu.be/aU2aKbnHuWs&t=145s
Power BI — Year on Year with or Without Time Intelligence
https://medium.com/@amitchandak.1978/power-bi-ytd-questions-time-intelligence-1-5-e3174b39f38a
https://www.youtube.com/watch?v=km41KfM_0uA