Forum Discussion
U382911
2 years agoFrequent Visitor
Calculating YTD absolute error and YTD average abs error
Hello all, Hoping for some assistance with this effort. I have the below matrix example, calculating the absolute error of forecast vs sales by product family by month: I'm trying to calcu...
amitchandak
Super User
2 years agoU382911 , For ytd you can use time intelligence using date table
YTD Sales = CALCULATE(SUM(Table[error]),DATESYTD('Date'[Date],"12/31"))
for error
YTD Sales = CALCULATE(Averagex(Values(Date[Month Year]), calculate( SUM(Table[error]))) ,DATESYTD('Date'[Date],"12/31"))
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
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