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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.