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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

MAX value of a measure on different aggregation levels

Dear Community,

 

I would like to work with the MAX of a measure value on different evaluation levels in a matrix table.

 

Evaluation level 1Evaluation level 2Value of measure AVERAGE
ID 1ID 11100
ID 1ID 12200

 

If I create a matrix table with "Evaluation level 1" in the row level, it will summarize the measure value:

Evaluation level 1Value of measure AVERAGE
ID 1300

 

How can I create a solution, where I can use the MAX value of my measure here?

 

Thank you for your support in advance!

 

1 ACCEPTED SOLUTION
AlB
Community Champion
Community Champion

Hi @Anonymous 

I would need more details but try creating this new measure based on the one you have:

Measure =
MAXX ( DISTINCT ( Table1[Evaluation Level 2] ), [Value of measure AVERAGE] )

and place it in a table visual with Table1[Evaluation Level1] in the rows. Note [Value of measure AVERAGE] is the measure you currently have and are showing in the visuals.

Please mark the question solved when done and consider giving a thumbs up if posts are helpful.

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

Cheers 

SU18_powerbi_badge

 

View solution in original post

3 REPLIES 3
v-robertq-msft
Community Support
Community Support

Hi, @Anonymous 

According to your description, I guess you want to replace the summarized value with the max value of the measure[AVERAGE] in the total row, and the measure[AVERAGE] calculates the average value of [data]. I think that you can try this measure:

AVERAGE = MAXX('Table',CALCULATE(AVERAGE('Table'[Data])))

And you can place this measure into the Matrix, you can get what you want, like this:

v-robertq-msft_0-1605512660896.png

 

v-robertq-msft_1-1605512660901.png

 

 

If this result is not what you want, you can post some sample data(without sensitive data) and your expected result.

How to Get Your Question Answered Quickly 

 

Best Regards,

Community Support Team _Robert Qin

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

AlB
Community Champion
Community Champion

Hi @Anonymous 

I would need more details but try creating this new measure based on the one you have:

Measure =
MAXX ( DISTINCT ( Table1[Evaluation Level 2] ), [Value of measure AVERAGE] )

and place it in a table visual with Table1[Evaluation Level1] in the rows. Note [Value of measure AVERAGE] is the measure you currently have and are showing in the visuals.

Please mark the question solved when done and consider giving a thumbs up if posts are helpful.

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

Cheers 

SU18_powerbi_badge

 

Anonymous
Not applicable

Hi @AlB 

 

it works great, thank you!

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors