Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
W4LTZ
Frequent Visitor

TreeMap vs Stacked Bar

Hi guys,

 

Not sure how to get around this one and your help would be much appreciated.

 

I'd like a visual that can group the quantity percentages with the group averages such as on the TreeMap below.

W4LTZ_0-1707273393848.png

 

However, i'd like the data to show like on the below from excel, with bars in a descending sort for average and the group percentage in the X-axis.

W4LTZ_1-1707273538947.png

W4LTZ_2-1707273609560.png

I've tried the playing with the stacked bar chart but no luck....

 

Any help would be greatly appreciated.

 

Cheers

 

 

 

 

2 REPLIES 2
Anonymous
Not applicable

Hi @W4LTZ ,

You can create a stacked column chart and sort Y-axis with descending order just as below screenshot.

vyiruanmsft_0-1707360189231.png

Power BI - Stacked Column Chart Example - Power BI Docs

Stacked Column Chart in Power BI 

 

If the above one can't help you get the expected result, please provide some raw data in your tables (exclude sensitive data) with Text format and your visual settings. It would be helpful to find out the solution. You can refer the following link to share the required info:

How to provide sample data in the Power BI Forum

 

And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

Thanks for the response v-yiruan-msft.

 

My issue is not with the sorting of the data in the Stacked Column chart. It's the width of each bar in the x-axis that needs align with a series - in this case the proportion of each group (1, 2, 3, 9 and 10 on the chart in my original post) against their total quantity.

 

So basically both axes y and x need to be driven by a series. I've managed to replicate it in excel and it was a considerable amount fo work.

 

The link below explains exactly what i'd like PBI to do:

https://www.youtube.com/watch?v=jEcShc1Nyeg

 

Again, i appreciate the help. Hopefully this additional info helps.

 

Cheers

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors