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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.