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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

undefined

Need a help to create a measure to show only max value for a particular hierarchy level in matrix visual
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @Anonymous ,

I created some data:

vyangliumsft_0-1683598835951.png

Custom rules:

Find the largest value of [Group2], which is displayed in [Group1].

Here are the steps you can follow:

1. Create measure.

Measure =
var _table1=
SUMMARIZE('Table','Table'[Group2],"sum",SUM('Table'[Value]))
var _group2max=
MAXX(
    _table1,[sum])
return
IF(
 ISINSCOPE('Table'[Group1]),_group2max,MAX('Table'[Value]))

2. Result:

vyangliumsft_1-1683598835953.png

If I have misunderstood your meaning, please provide your pbix file without privacy information and desired output.

 

Best Regards,

Liu Yang

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

2 REPLIES 2
Anonymous
Not applicable

Hi  @Anonymous ,

I created some data:

vyangliumsft_0-1683598835951.png

Custom rules:

Find the largest value of [Group2], which is displayed in [Group1].

Here are the steps you can follow:

1. Create measure.

Measure =
var _table1=
SUMMARIZE('Table','Table'[Group2],"sum",SUM('Table'[Value]))
var _group2max=
MAXX(
    _table1,[sum])
return
IF(
 ISINSCOPE('Table'[Group1]),_group2max,MAX('Table'[Value]))

2. Result:

vyangliumsft_1-1683598835953.png

If I have misunderstood your meaning, please provide your pbix file without privacy information and desired output.

 

Best Regards,

Liu Yang

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

mrcss23
Advocate IV
Advocate IV

Hi. Can you provide the example of data?

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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