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
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
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