Forum Discussion
Calculate the average of %Difference
- 5 years ago
romoguy15 try this mesure
Avg = AVERAGEX ( SUMMARIZE ( Summary, Summary[Account], 'Calendar'[Year], "@Delta", [% Delta to Forecast] ), [@Delta] )Check my latest blog post Compare Budgeted Scenarios vs. Actuals I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
romoguy15 try this mesure
Avg = AVERAGEX ( SUMMARIZE ( Summary, Summary[Account], 'Calendar'[Year], "@Delta", [% Delta to Forecast] ), [@Delta] )
Check my latest blog post Compare Budgeted Scenarios vs. Actuals I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
- romoguy155 years ago
Helper IV
Hi, thank you for the quick solution. Would you mind explaining the use of "@delta" ? I want to understand how this measure works with that into the formula.
- romoguy155 years ago
Helper IV
Hey Parry2k,
For some reason it works perfectly on the test report. But when I plugged it into my actual report it is not working. I am getting this error
The column 'Year' specified in the 'SUMMARIZE' function was not found in the input table.
This doesn't make sense. The data is pretty much the same as far as my relationship with the calendar and the Summary dataset. Nothing really changed. Could you help?