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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
v-shex-msft
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

2 REPLIES 2
v-shex-msft
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
ansa_naz
Continued Contributor
Continued Contributor

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.