Forum Discussion
Average based on multiple columns (categories)
- Anonymous7 years ago
Cherry,
I solved it by adding Summarize table with two columns 1 = Group by Phase 2 = Average(Projected UnitHour)
Then established relationship on Phase with bi directional and it works
Thanks,
Ed Dror
Hi Anonymous ,
For your requirement, please create the calculated column in Power BI with the formula below.
Column =
CALCULATE (
AVERAGE ( Table1[Units] ),
ALLEXCEPT ( Table1, 'Table1'[Company], 'Table1'[Phase] )
)
Here is your desired output.
Best Regards,
Cherry
Cherry,
It Didn't work I tried AverageX, Calculate measure, yours solution but nothing seems to work
Basiclly (see attachment) I want to repeat the Average (Mean and Median) to all rows based on Phase value
The Total Mean at the bottom 8.29 to show on each and every row So I can do the chart looks like this
The filter based on Phase only not Copany Job Phase.
Thanks,
Oded Dror
- Anonymous7 years agoNot applicable
Cherry,
I solved it by adding Summarize table with two columns 1 = Group by Phase 2 = Average(Projected UnitHour)
Then established relationship on Phase with bi directional and it works
Thanks,
Ed Dror