Forum Discussion
convert measures to column for correct average.
- 6 years ago
Assuming you have only measures in 'Measures Table', that will not work. Typically, you would use AVERAGEX() to iterate over a Dimension table or a virtual table like VALUES() or SUMMARIZE(). For example,
Measure = AVERAGEX(DimensionTable, [YourMeasure])
Measure2 = AVERAGEX(VALUES(Product[ProductID]), [YourMeasure])
What is your goal in averaging over the Measures table?
If this works for you, please mark it as the solution. Kudos are appreciated too. Please let me know if not.
Regards,
Pat
Mous007 , check this file you have a measure that using workday from the calendar
https://www.dropbox.com/s/y47ah38sr157l7t/Order_delivery_date_diff.pbix?dl=0
Refer to 2nd Page
hi amitchandak , for some reason i cannot open/see the file on the link.
Appreciate you tried to help, thanks
But so far im getting the correct results for my working days, i am just facing an issue averaging the measures above for working days.
i am using the averagex formula:
- mahoneypat6 years ago
Microsoft Employee
Assuming you have only measures in 'Measures Table', that will not work. Typically, you would use AVERAGEX() to iterate over a Dimension table or a virtual table like VALUES() or SUMMARIZE(). For example,
Measure = AVERAGEX(DimensionTable, [YourMeasure])
Measure2 = AVERAGEX(VALUES(Product[ProductID]), [YourMeasure])
What is your goal in averaging over the Measures table?
If this works for you, please mark it as the solution. Kudos are appreciated too. Please let me know if not.
Regards,
Pat
- Mous0076 years ago
Helper IV
Hi mahoneypat , I had a table with the request number and the working days needed to complete each single request.
So based on your reply, i realized that I had to switch my measures from the measures tables to the actual data table. i used the same average calculation and now the average is calculated correctly.
Thanks a lot for the concept clarification.
Best,
Mous