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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
po
Post Prodigy
Post Prodigy

Sort column on matrix - not allowing descending sort on column

Hi,

Have the following issue.

We have a large matrix with % measure with value for each week column and plant name in the rows.

 

When look to try and sort in descending week order the availabel columns to sort on don't show week.

 

Also even when go to modelling and explitctly put sort descedning on the week column when put week in a visual like matrxi it is sorting in ascending order.

 

We wish to sort in descedning order as when users try and send the power bi doc to pdf or powerpoint to print they don't see all the weeks as these are scrollabel due to sheer amount of data.

 

Please see screenshots below.

 

column_sort.JPG

 

week below going horizontally.

 

 

 

 

 

 

screenshot_sort_col_not_available.JPG

 

Any thoughts on how best to resolve to show weeks in most recent order horizontally?

 

Thanks

1 ACCEPTED SOLUTION
Anonymous
Not applicable

A true feature to sort horizontally is missing, but there is a valid workaround - a bit spartan though.. 

 

1. Create a new calculated column where you switch your rows to an alphabetic or numeric sorted equivalent. 

Order = SWITCH(Table1[Week], 52, 1, 51, 2, 50, 3.. etc)

2. Follow this: 

Sort by column 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

A true feature to sort horizontally is missing, but there is a valid workaround - a bit spartan though.. 

 

1. Create a new calculated column where you switch your rows to an alphabetic or numeric sorted equivalent. 

Order = SWITCH(Table1[Week], 52, 1, 51, 2, 50, 3.. etc)

2. Follow this: 

Sort by column 

Thanks for suggestion.

 

Tried this and realised had to sort the week column by the other column rather than place a direct sort on the column and now looks to work as expected.

 

I would have hoped explitly going into modelling to sort the week in descending order for the column directly would have meant anytime column was used in a visual would display it in descending week order but doesn't.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.