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
skhanna
New Member

Sort columns in Matrix

Hi,

 

I am new to Power BI and will appreciate any help with my question.

 

So, I have a matrix that tells the Visits for Doctors at corresponding Hospitals,

skhanna_0-1669898995933.png

I am able to sort the matrix at row level and able to achieve this result as shown below.

skhanna_1-1669899068249.png

I would like to further sort this matrix at column level, and the final result should look like this,

skhanna_2-1669899109025.png

Is there any workaround to this? Any help will be appreciated.

 

Thanks!!

2 REPLIES 2
djurecicK2
Super User
Super User

Hi @skhanna ,

 Please see this article for how to do custom sorting:

https://radacad.com/sort-a-column-with-a-custom-order-in-power-bi

 

Please accept as solution if this answers the question- thanks!

Hi @djurecicK2,

 

The columns here are dynamic so creating a custom order won't work out.

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.