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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
Anonymous
Not applicable

Change data order at the chart.

Hi everyone!

 

How can I change the data order at the chart, without using the value or alphabetical order?

I would like to have: "Vencido"; "Entre 1 e 30 dias"; "Entre 31 e 60 dias"; "Entre 61 e 90 dias"; "Entre 91 e 120 dias" and "Acima de 120 dias"

 

Capture.PNG

 

I tried to create some measures, but the columns stay together like this below, and the result is not nice:

 

Capture1.PNG

 

Thanks and good work!

1 ACCEPTED SOLUTION
ntaylo06
Resolver II
Resolver II

Here is a blog post that will walk you through how to do this: https://www.seerinteractive.com/blog/reorder-powerbi-legend/

 

To summarize: You will have to create a new table that contains your category names and a number that you can sort by, then link the tables together and create a new column from that relationship. The blog post has a lot of detail about how to do this.

View solution in original post

1 REPLY 1
ntaylo06
Resolver II
Resolver II

Here is a blog post that will walk you through how to do this: https://www.seerinteractive.com/blog/reorder-powerbi-legend/

 

To summarize: You will have to create a new table that contains your category names and a number that you can sort by, then link the tables together and create a new column from that relationship. The blog post has a lot of detail about how to do this.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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