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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
jcastr02
Post Prodigy
Post Prodigy

sorting in matrix

I have a matrix visual and I would like to be able to sort the columns (by clicking on column header either ascending or descending)  when I hover over it doesn't do anything any ideas for workarounds?

jcastr02_0-1743190677773.png

 

1 ACCEPTED SOLUTION
danextian
Super User
Super User

Hi @jcastr02 

 

If you enable the total column, you will see that the rows are sorted by the value in that column. Hiding it will not change this behaviour. You will need to create a measure that returns different values as the total based on slicer selection from a column in a disconnected table.

danextian_0-1743220656102.png

Please see the attached sample pbix.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

View solution in original post

4 REPLIES 4
v-csrikanth
Community Support
Community Support

Hi @jcastr02 
As highlighted by @danextian @lbendlin , the proposed approach appears to effectively address your requirements. Could you please confirm if your issue has been resol
If you are still facing any challenges, kindly provide further details, and we will be happy to assist you.

Best Regards,
Cheri Srikanth

Hello @danextian's approach worked ! thank you and sorry for delay.

danextian
Super User
Super User

Hi @jcastr02 

 

If you enable the total column, you will see that the rows are sorted by the value in that column. Hiding it will not change this behaviour. You will need to create a measure that returns different values as the total based on slicer selection from a column in a disconnected table.

danextian_0-1743220656102.png

Please see the attached sample pbix.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
lbendlin
Super User
Super User

not currently possible.  You need to use the "sort a column by another column"  workaround. That is a static decision.

 

If this is important to you please consider voting for an existing idea or raising a new one at https://ideas.fabric.microsoft.com

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.