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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.