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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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