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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
ansa_naz
Continued Contributor
Continued Contributor

How to sort total in a matrix with multiple row groups, where drilldown is at lowest level?

Hi all

I have set the matrix up as below:

 

Matrix sort.jpg

 

On the drilldown buttons, I have pressed the right hand button labelled 'At the lowest level of data'.

 

As you can see, the total sort order sorts by inner row groups (Lift Reference) per outer row group (Site Name), not just by inner row group (Lift Reference). Is there any way to sort the total just for the inner row group (Lift Reference) but still show the outer row group (Site Name)?

 

Cheers for all help

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @ansa_naz,

 

Nope, I don't think you can direct sort by sub-total level, power bi will drill to detail records and sort by them.

 

Current power bi support to use one of axis or value field as sort order, you can also refer to following link to use 'sort by column' to define default sort order or records.

Custom Sorting in Power BI

 

Regards,

Xiaoxin Sheng

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

HI @ansa_naz,

 

Nope, I don't think you can direct sort by sub-total level, power bi will drill to detail records and sort by them.

 

Current power bi support to use one of axis or value field as sort order, you can also refer to following link to use 'sort by column' to define default sort order or records.

Custom Sorting in Power BI

 

Regards,

Xiaoxin Sheng

ansa_naz
Continued Contributor
Continued Contributor

Hi @Anonymous Im not sure I understand. Are you saying it is not possible to sort by the subtotal amount in a matrix?

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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