cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors