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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
vcb_001
Frequent Visitor

Sorting out sub-row values in the matrix.

Hi everyone,

 

I've got a question which could be quite straightforward to handle but, I haven't found any way to solve what I would like to reflect in my matrix table. Basically, please see the below attached screenshot where I need to sort values from 6 to 1 (descending) instead of 1 to 6 (ascending).

vcb_001_0-1694070886664.png

 

Is there any way of conducting a solution for this issue in the Power BI?

 

Thanks a lot for your feedback in advance.

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Use the "Sort a column by another column" approach.  Create a column in Power Query* that has the opposite values.  Then sort your original column by that column.

 

* If you try to do that in DAX you may get a circular reference error.

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

Use the "Sort a column by another column" approach.  Create a column in Power Query* that has the opposite values.  Then sort your original column by that column.

 

* If you try to do that in DAX you may get a circular reference error.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.