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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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