Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi there,
I’ve attached my draft graph in Power BI. I’d like to display values in a pie chart with a Matrix subtotal as follows:'
I create the Matrix by using BI matrix itself.
I’ve reviewed some solutions in the group but haven’t been able to get it to work. Any assistance would be appreciated.
I appreciate the help. Thanks.
Regards,
YY
Solved! Go to Solution.
Thanks for Ritaf1983's concern about this case.
Hi @YYlee ,
I tried to create a sample data myself based on your requirement and implemented the result. Please check if there is anything that can be improved. Here is the steps:
1.Create a simple data:
2.Create a new measure:
MEASURE =
VAR _sum =
CALCULATE (
SUM ( 'Table'[Value] ),
ALLEXCEPT ( 'Table', 'Table'[Category], 'Table'[Column] )
)
VAR _people =
CALCULATE (
DISTINCTCOUNT ( 'Table'[Name] ),
ALLEXCEPT ( 'Table', 'Table'[Category] )
)
RETURN
DIVIDE ( _sum, _people )
3.Use the measure you just created as the pie chart value.
4.The final result is as follows:
Best Regards,
Zhu
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
Thanks for Ritaf1983's concern about this case.
Hi @YYlee ,
I tried to create a sample data myself based on your requirement and implemented the result. Please check if there is anything that can be improved. Here is the steps:
1.Create a simple data:
2.Create a new measure:
MEASURE =
VAR _sum =
CALCULATE (
SUM ( 'Table'[Value] ),
ALLEXCEPT ( 'Table', 'Table'[Category], 'Table'[Column] )
)
VAR _people =
CALCULATE (
DISTINCTCOUNT ( 'Table'[Name] ),
ALLEXCEPT ( 'Table', 'Table'[Category] )
)
RETURN
DIVIDE ( _sum, _people )
3.Use the measure you just created as the pie chart value.
4.The final result is as follows:
Best Regards,
Zhu
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
Hi @YYlee
Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.
How to Get Your Question Answered Quickly
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
79 | |
73 | |
58 | |
36 | |
32 |
User | Count |
---|---|
90 | |
62 | |
61 | |
49 | |
45 |