Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!