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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
D_kim
New Member

How to sort a stacked area plot by area size

Hi power bi experts and fans! Does any of you happen to know how to order stacked column or area charts by size of their value? So in the example attached, Azure item (USA) at bottom, followed by blue, yellow, etc.

Of course the order of the different categories changes over x-axis. But it would be ok to choose the order on 1 fixed moment in time

D_kim_0-1626774071184.png

 

 

Thank you in advance!

 

2 REPLIES 2
v-henryk-mstf
Community Support
Community Support

Hi @D_kim ,

 

Based on your description, there seems to be a similar solution as follows. See if it helps you.

 

Solved: Clustered bar chart, clustered in order of size - Microsoft Power BI Community


If not, please point out. Or provide the relevant data model (delete sensitive information), I will do further testing for you.


Best Regards,
Henry


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@D_kim , Not very clear can you explain with example?

 

 

But both axis and legend order can be changed with the sort column.

 

Axis sort can also be changed using three dots

 

refer if needed

How to Create Sort Column and Solve Related Errors: https://youtu.be/KK1zu4MBb-c

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.