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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
UpNorth
Regular Visitor

Matrix Hierarchy Header Row

Good day Power BI Community,

 

This is my first post/question hope this works.

 

We are using the Matrix Visual on a dashboard and are trying to have the header row for each group have the "Max Amt" for that group which is working as you  can see in the picture but we also want t it to have the "Name" that is associated with the "Max Amt", so for example the second group "AF264058      GS     2.02"     should be      "AF264058      JPM     2.02"  another example is the third group "AM103318  CIBC   1.76"  should be "AM103318  SCM   1.76"   

 

We tried many different visuals and cant seem to solve this any help would be appreaicted!

 

Thanks

 

Picture1.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @hannax123 ,

 

Method1: Go to Modeling tab:

Eyelyn9_0-1653959997199.png

Method2: Right-click the Table name:

Eyelyn9_1-1653960059314.png

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @hannax123 ,

 

Method1: Go to Modeling tab:

Eyelyn9_0-1653959997199.png

Method2: Right-click the Table name:

Eyelyn9_1-1653960059314.png

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Hi @UpNorth ,

 

You could use ISINSCOPE() to change the sub-total value of Rows in Matrix visual:

Name of Max Amt = 
var _maxAmt = MAXX(FILTER(ALL('Table'),[ID]=MAX('Table'[ID])),[Max Amt])
var _maxName= CALCULATE(MAX('Table'[Name]),FILTER('Table',[ID]=MAX('Table'[ID])&& [Amt]=_maxAmt)) 
return IF(ISINSCOPE('Table'[Time]),MAX('Table'[Name]),_maxName)

Output:

Eyelyn9_1-1653879660155.png

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi there - We are using Direct Query and there is no Data tab to enter in the DAX formulas. Is there another way to enter DAX?

 

Thanks,

Hanna

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

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.