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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Clustered Column Chart: Sorte Order

I am creating a clustered columns charts, I want to order it by the legends not the value and axis. is it possible?

8 REPLIES 8
Anonymous
Not applicable

Capture.PNGIn this chart, I want to be able to customize the order of time periods as well as the A,B,C things to be able to create some thing like B,A,C

 

Hi @Anonymous 

 

Do you mean you'd like to re-order the axis? could you please kindly specify more details about the data type in your sample?

Below post can be your reference:

https://community.powerbi.com/t5/Service/Re-ordering-the-x-axis-values/td-p/82768 

 

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
Anonymous
Not applicable

The data masked as a,b,c,d are of text format and the legends (current month, L3m etc) are also text in nature. The data shown in charts is a measure in itself.

Hi @Anonymous 

 

You can change the sort order, but it should be sort by one measure which defines the rules, please kindly share your dummy pbix/simple file that i can check it further and provide a valuable solution. 

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
Anonymous
Not applicable

I want to sort basis A,C and B basis sort order.

 

Data.PNGData2.PNG

 

VISUAL.PNG

Anonymous
Not applicable

Capture.PNGSo to explain better, I want to be able to control that TY goes to the right and YA to left. Also, if possible I want to customise the order of my x-axis elements. I can't use sort by because it is not basis values or alphabetical order

az38
Community Champion
Community Champion

@Anonymous 

a good solution could be is to use grouping https://docs.microsoft.com/en-us/power-bi/desktop-grouping-and-binning

create groups with one item (one group for each item) and call it like "0 - item 1", "1 - item 2", etc..

do not hesitate to give a kudo to useful posts and mark solutions as solution


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
rajulshah
Resident Rockstar
Resident Rockstar

Hello @Anonymous ,

 

It will automatically sort the legend by alphabetical order. Or you can drag the field in Tooltips section and you will then be able to sort by the legend field.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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