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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

How to sort 2 columns with different sort keys in matrix power BI

I have the following matrix

shashank102_0-1649139526590.png 

this is imported from SSMS and table is as given below,here values are sorted by sortorder and dimensions are sorted by dimension sort.

I want to sort both of them in my matrix in power bi which is a live connection in SSAS TABULAR CUBE where dimensions order should be like # of attorneys,location,practice area,class year

shashank102_1-1649139741247.png

what i tried was to add ID-sort column and use that but its not working out.

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous ,

 

As far as I know, this feature is supported in Table visual but not in Martix visual.

In a Table visual you could shift+left click the column header to sort the visual by multiple column.

You could submit this as an idea.

https://ideas.powerbi.com/ideas/ 

 

Best Regards,

Jay

Anonymous
Not applicable

  • @amitchandak yes I have defined sort columns for both in SSas 
amitchandak
Super User
Super User

@Anonymous , Have defined sort column in SSAS for both these ?

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

yes

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.