cancel
Showing results for 
Search instead for 
Did you mean: 
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
Resident Rockstar
Resident Rockstar

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
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors