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

multi-column matrix sorting

hi,

 

i have matrix visualization with multiple columns which are both measures & dimensions as follows:

 

. yearmonth (dimension)

. organization name (dimension)

. total income (measure)

 

i'd appreciate any help on how to do multi-column sorting in matrix, if it's possible.

 

tks & krgds, -nik

I want to do a multiple column sort (like in Excel) first on Budget then on Project_duration in Power BI.

1 ACCEPTED SOLUTION

For Year and Organization, you have a combine column and sort, But that might not look good in the matrix

New column

Year Org = [Year] & " " & [Organization]

 

But ideally, they should in some sort order by default

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

View solution in original post

5 REPLIES 5
amitchandak
Super User
Super User

@Anonymous ,

I think that got supported for the table in march 2020 release, please explore here

https://powerbi.microsoft.com/en-us/blog/power-bi-desktop-march-2020-feature-summary/

 

With control and click you can sort on another column

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

thanks for your quick response, @amitchandak.

 

yes, i have got it working for tables visual. however, i need it to be done for matrix visual which don't seem to be able to have multi-column sorting. 

 

i'm considering dax too if it's possible in matrix visual.

krgds, -nik-

For Year and Organization, you have a combine column and sort, But that might not look good in the matrix

New column

Year Org = [Year] & " " & [Organization]

 

But ideally, they should in some sort order by default

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

tks again, @amitchandak.

 

will that be by means of creating a calculated column?

krgds, -nik

Yes

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

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!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 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.