Forum Discussion
Using total to calculate a different measure
- 9 years ago
Hi DanielB,
I try to reproduce your scenario get the expected result, please see the following solution.
Create a measure using the following formula.Average Bikes Sold Per Day = AVERAGEX(SUMMARIZE('Table','Table'[Shop],'Table'[Town],"Aa",AVERAGE('Table'[Bikes Sold])),AVERAGE('Table'[Bikes Sold]))For example, create table used to diplay the shop, town and Average Bikes Sold Per Day values. Create a slicer including town values, when you click 1, it will the corresponding values, and the total average changes automatically.
If you have any other problem, please let me know.
Best Regards,
Angelia
Have you tried with ALL()?
- v-huizhn-msft9 years ago
Microsoft Employee
Hi DanielB,
I try to reproduce your scenario get the expected result, please see the following solution.
Create a measure using the following formula.Average Bikes Sold Per Day = AVERAGEX(SUMMARIZE('Table','Table'[Shop],'Table'[Town],"Aa",AVERAGE('Table'[Bikes Sold])),AVERAGE('Table'[Bikes Sold]))For example, create table used to diplay the shop, town and Average Bikes Sold Per Day values. Create a slicer including town values, when you click 1, it will the corresponding values, and the total average changes automatically.
If you have any other problem, please let me know.
Best Regards,
Angelia