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
ThomasDay
Impactful Individual
Impactful Individual

Matrix Total Column sort

Hello fellow PowerBI'ers,

 

I have been trying to understand the status of Matrix sorting in the ideas section.  I fully get that it's a tricky question.  That said, am I actually unable to sort a Matrix by the Total Column under any circumstances?  Here's a matrix with no row subtotals, just row totals...and I want to sort by the total column.  No can do.

SortUP.pngSortDown.png

That does seem a little odd despite the complexity of more elaborate matrix structure sorting.  Thoughts?

Tom

 

 

1 ACCEPTED SOLUTION
ThomasDay
Impactful Individual
Impactful Individual

@Sean Thanks for the heads up--I just figured matrix sorting was funky.  Since the data is in a measure and a slicer determines what's shown on the table...sometimes the data is $ other times it's a count...I format it when building the measure.  And that makes it sort as text.  I could not for the life of me figure out what was happening, but it's sorting left to right, one place at a time.  And, even if the data being chosen has a format, that can't be passed along to the measure.  Grrrr.

 

Anyway, thanks for the heads up.  Tom

View solution in original post

4 REPLIES 4
Sean
Community Champion
Community Champion

Yes @ThomasDay I am amazed when I see some people claim you can sort in the Matrix!

If you have indeed seen the Ideas you surely have seen my post(s) specifically on Sorting!

A quick fix for you (although I know this will not be what you want exactly)

Reverse the order of county and primary city - then they'll sort correctly but not like you want the results to look!

 

We need to be able to sort at each level as I explained here

You can see my comment 5th form top

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/15844186-pivot-tables-and-breakdo...

Plus I've been asking for the Collapse/Expand Buttons since Aug 2015

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/9207006-matrix-collapse-expand-bu...

 

ThomasDay
Impactful Individual
Impactful Individual

@Sean FWIW, I added 3 votes to your +/- collapse idea.  And it does seem like matrix visuals are getting some attention this year...hope so!  Tom

 

 

Sean
Community Champion
Community Champion

@ThomasDay

The more I look at the picture you posted something is off...

You are sorting only 1 column - so it should sort at the County level

and if you have several cities in each County those should be sorted inside the county also

this is strange since you are only trying to sort 1 column

I tried to duplicate it but can't...

 

I have to say I've not had problems sorting only 1 Column

Good Luck! Smiley Happy

 

 

ThomasDay
Impactful Individual
Impactful Individual

@Sean Thanks for the heads up--I just figured matrix sorting was funky.  Since the data is in a measure and a slicer determines what's shown on the table...sometimes the data is $ other times it's a count...I format it when building the measure.  And that makes it sort as text.  I could not for the life of me figure out what was happening, but it's sorting left to right, one place at a time.  And, even if the data being chosen has a format, that can't be passed along to the measure.  Grrrr.

 

Anyway, thanks for the heads up.  Tom

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.