Forum Discussion
Calculating Average of Average help
- 10 years ago
BhaveshPatel and Greg_Deckler,
I was able to figure out the DAX expression for this:
AvgofAvgPM = AverageX(Values(Job[Project Manager]),Job[PM Rating])
Basically taking a unique value in the table project manager, and then getting the average value of each project manager. Then it takes those values and just averages it.
Thanks!
In your scenario, as the PM Rating is measure, we are not able to use AVERAGE function to return average values directly. We need to create a new column with the same DAX which is used by "PM Rating" measure. Then we can create a new measure with AVERAGE function.
Thanks & Regards,
Bhavesh
BhaveshPatel and Greg_Deckler,
I was able to figure out the DAX expression for this:
AvgofAvgPM = AverageX(Values(Job[Project Manager]),Job[PM Rating])
Basically taking a unique value in the table project manager, and then getting the average value of each project manager. Then it takes those values and just averages it.
Thanks!
- v-haibl-msft9 years ago
Microsoft Employee
If you can get your problem solved by the last DAX expression you posted, you can mark your last post as answer to close this thread.
Best Regards,
Herbert
- Greg_Deckler9 years ago
Community Champion
Nice, I didn't think of using VALUES, nice call.