Forum Discussion
PPD
Helper I
5 years agoAverage based on Groups
Hi, I am new to Power BI, and would like to achieve the following results for "Average by Customer" and Average by Customer Region" in the existing table. This report is generated using Direct qu...
- 5 years ago
Hi, PPD
Try to create measure as below:
M% = [Measure 2] /[Measure 1]Average by customer = AVERAGEX(SUMMARIZE('Table','Table'[Product],'Table'[Customer Region],"M%",[M%]),[M%])Average by Customer Region = CALCULATE( [Average by customer],ALL('Table'))Please check attached pbix for more details.
Best Regards,
Community Support Team _ Eason
v-easonf-msft
Community Support
5 years agoHi, PPD
Try to create measure as below:
M% = [Measure 2] /[Measure 1]Average by customer = AVERAGEX(SUMMARIZE('Table','Table'[Product],'Table'[Customer Region],"M%",[M%]),[M%])Average by Customer Region = CALCULATE( [Average by customer],ALL('Table'))
Please check attached pbix for more details.
Best Regards,
Community Support Team _ Eason
- PPD5 years ago
Helper I
Hi v-easonf-msft Eason,
Thank you for your response, and sharing the PBIX file. Please see my response below.