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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Umidjon
Frequent Visitor

Sorting matrix table

Hi, 

I am using Power Bi Desktop. I created matrix table. However, I couldn't sort specific column values ( descending order) in matrix table. In rows I have category and sub-category. While I put years to columns and quantity to values field. Do you know any solution for this.

Thanks in advance

 

3 REPLIES 3
v-yiruan-msft
Community Support
Community Support

Hi @Umidjon ,

You can select the matrix and make the setting as below screenshot:

Sorting matrix table.jpg

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
Super User
Super User

@Umidjon , Suppose I have Year on column (pivot) 

Then create column like these 

 

Year 1=  [year]

year sort = rankx(All(Table), Table[Year],,desc,dense)

 

now sort year 1 on year sort and use Year 1 in visual (Year will circular dependencies, that is why year 1)

 

https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column

 

In case it is in row, there is option on three dots to sort descending

Hi, 

it is not working. I want to sort values in year 2020. How it can be done? Please help. It is important.

Thanks in advance 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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