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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Matrix Mutli tier sorting

Hi

 

trying to find a way to do multi level sorting in a Matrix I came up empty. it is true that this feature is not supported !!!!

 

are there any workarounds?

 

BR

 

Chronis

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

Current power bi not support apply multiple sorting orders on matrix, you can refer to following link to create a custom sort order table to apply multiple column sorting:

Custom Sorting in Power BI

Sorting by multiple columns

Custom Order=
    COUNTROWS (
        FILTER (
            Table,
            ISONORAFTER (
                    [Column1], Table[Column1], DESC,
                    [Column2], Table[Column2], DESC,
                    [Column3],Table[Column3], ASC
            )
        )
    )

Regards,
Xiaoxin Sheng

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

Current power bi not support apply multiple sorting orders on matrix, you can refer to following link to create a custom sort order table to apply multiple column sorting:

Custom Sorting in Power BI

Sorting by multiple columns

Custom Order=
    COUNTROWS (
        FILTER (
            Table,
            ISONORAFTER (
                    [Column1], Table[Column1], DESC,
                    [Column2], Table[Column2], DESC,
                    [Column3],Table[Column3], ASC
            )
        )
    )

Regards,
Xiaoxin Sheng

Anonymous
Not applicable

@Anonymous  thank you....

 

I'm quite surprised that powerBI would not support such a basic feature... 

 

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

Top Solution Authors
Top Kudoed Authors