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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
Kane
Helper I
Helper I

Modify the legend order

Hi, PowerBI experts,

 

Now, I would like to summarize the count of a column named "tests" with a stacked column chart. And I also take the column "status" as the legend.

 

From the picture below, you can find that the "Blocking" part is at the bottom of the chart.

My question is: how to move the "Blocking" part to the top of the chart ?

In other words, how could we custom the display order of the legend ?

legend order.png

 

THANKS !

 

Kane

1 ACCEPTED SOLUTION
Sean
Community Champion
Community Champion

@Kane

You have to create Measures for each type of Status

 

Then place each Measure in the Values area in the order you wish

 

I responded to a similar question but for a pie chart today - it works exactly the same way with a bar chart

 

http://community.powerbi.com/t5/Desktop/Rearrange-Pies-in-Pie-Chart/m-p/25218#U25218

View solution in original post

22 REPLIES 22

Hi there, this seems like the perfect solution but unfortunately PowerBI doesn't seem to recognize the inserten U220C characters for me. Do you have an idea if the software changed at some point or does it still work for you?

Thank you @Sean !

This is really an excellent solution !!!

Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

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