Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi there,
I have an excel file that has the following fields:
Type 1 | Type 2 | Type 3
Sun Sun Moon
Moon Planet Sun
I need to have a Pie Chart that displays the total split % or volume such as :
Sun - 3
Moon - 2
Planet - 1
The problem is that I cannot put all of their legends, so I will get a combine value but rolling up only to the Types existent in Type 1 ( or Sun | Moon).
How can I create a pie chart that shows all of the data labels with their combined values?
Thanks
@Anonymous , use unpivot or transpose and then you can count
https://radacad.com/pivot-and-unpivot-with-power-bi
Transpose : https://yodalearning.com/tutorials/power-query-helps-transposing-data/
If I use those, it breaks the rest of the table and formulas that I have. Are there any other ways?
Hi @Anonymous ,
If you do not want to break the initial table, you can use union() function to create a new calculate table:
new table =
UNION (
SUMMARIZE ( 'Table', 'Table'[Type1] ),
SUMMARIZE ( 'Table', 'Table'[Type2] ),
SUMMARIZE ( 'Table', 'Table'[Type3] )
)
Rename the column as 'Type', create a pie chart to get the result:
Best Regards,
Yingjie Li
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Hi @v-yingjl,
Thank you! That did work partly, but I still have a couple of issues where I would love to get your insights:
Hi @Anonymous ,
Could you please consider sharing a sample .pbix file for further discussion? Remember delete or replace sensitive information when you share it.
Best Regards,
Yingjie Li
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
79 | |
63 | |
52 | |
47 |
User | Count |
---|---|
217 | |
89 | |
76 | |
66 | |
60 |