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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Sorting Matrix by Value and Keeping Hierarchy Label

Hi everyone, I have a question about the limitations of the Matrix visual and sorting.

 

Currently I have a matrix that looks similar to this data:

 JanFebMarTotal
Microsoft10203060
Apple405060150
Amazon708090240

 

When you Expand All Down, it looks like this:

 JanFebMarTotal
Microsoft10203060
   Bill Gates7142142
   John Smith36918
Apple405060150
   Tim Cook283542105
   Jony Ive12151845
Amazon708090240
   Jeff Besoz495663168
   Jane Doe21242772

 

If you then sort by Total, highest to lowest, it rearranges it to this:

 

 JanFebMarTotal
Amazon708090240
    Jeff Besoz495663168
    Jane Doe21242772
Apple405060150
    Tim Cook283542105
    Jony Ive12151845
Microsoft10203060
    Bill Gates7142142
    John Smith36918

 

This sorts the company totals from highest to lowest, however I want the individual employee. Using the Advance to Next Hierarchy button instead of the Expand All Down, I am left with this (sorted highest to lowest on Total):

 JanFebMarTotal
Jeff Besoz495663168
Tim Cook283542105
Jane Doe21242772
Jony Ive12151845
Bill Gates7142142
John Smith36918

 

This is how I want to view it, but I would also like the name of the company to tag along with the name of the person, like so:

  JanFebMarTotal
AmazonJeff Besoz495663168
AppleTim Cook283542105
AmazonJane Doe21242772
AppleJony Ive12151845
MicrosoftBill Gates7142142
MicrosoftJohn Smith36918

 

Is this possible? For reference, data looks like this:

 

NameCompanyMonthValue
Bill GatesMicrosoftJanuary3
Bill GatesMicrosoftJanuary4
Bill GatesMicrosoftFebruary10
Bill GatesMicrosoftFebruary3
Bill GatesMicrosoftFebruary1
Bill GatesMicrosoftMarch7
Bill GatesMicrosoftMarch6
Bill GatesMicrosoftMarch7
Bill GatesMicrosoftMarch1
John SmithMicrosoftJanuary3
John SmithMicrosoftFebruary6
John SmithMicrosoftMarch9
1 ACCEPTED SOLUTION
VasTg
Memorable Member
Memorable Member

@Anonymous 

 

What happens when you show Name as first column and Company as Second?

 

Also, Disable "stepped layout" and "+/-" options under Row Header.

 

If this helps, Mark it as a solution.

Kudos are good too

Connect on LinkedIn

View solution in original post

2 REPLIES 2
VasTg
Memorable Member
Memorable Member

@Anonymous 

 

What happens when you show Name as first column and Company as Second?

 

Also, Disable "stepped layout" and "+/-" options under Row Header.

 

If this helps, Mark it as a solution.

Kudos are good too

Connect on LinkedIn
Anonymous
Not applicable

Man I was really overthinking this one... Putting names first and removing row subtotals got me exactly what I was looking for. Thank you!

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

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

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.