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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Max01
Helper I
Helper I

Column Sorting

Hello!

 

I have a sales pipeline and I'm reporting against various different pieces of data. I have a number of bar charts and unforunately powerbi is sorting the 'sales stage' alphabetically which isn't what we'd like. I tried creating an individual measure for each sales stage, but when you have multiple charts this is very long and also only seemed to help for stacked and pie charts, not for standard bar charts.

 

I do have a linked table which contains the sales stage and its order number:

Capture.PNG

 

 

However I can't get powerbi to sort in this order.

 

Please can you help?

 

Thanks in advance!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

To use a different column when sorting, ensure that [Oppo_Stage] used in your visuals is from the table with the [Oppo_Stage_value] in it.  In the Fields pane, select [Oppo_Stage], then in the Modeling tab, select Sort by Column, and choose [Oppo_Stage_value].  This should allow the text to be sorted based on the numbers. 

 

Sort by ColumnSort by Column

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

To use a different column when sorting, ensure that [Oppo_Stage] used in your visuals is from the table with the [Oppo_Stage_value] in it.  In the Fields pane, select [Oppo_Stage], then in the Modeling tab, select Sort by Column, and choose [Oppo_Stage_value].  This should allow the text to be sorted based on the numbers. 

 

Sort by ColumnSort by Column

As simple as that! Thank you very much!

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.