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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
cuseman03
Helper I
Helper I

how to calculate the min value for a measure that compiles averages

Hi all, going nuts trying to figure this out and it should be simple.

 

i have the notion of a group 1, group 2, group 3, etc.  each group has an average percent.  I have a measure for that just fine.  So let's say the values are group 1 = 70%, group 2 = 93%, and group 3 = 14%, I simply want a measure to obviously select the lowest value, that being 14%.

 

Further more, I have a filter option with check boxes for group 1, 2, 3, etc.  I want this lowest value to remain constant so regardless of which group you select in the filter, the lowest value is always shown.  have tried minx, summarize, can't get it.

 

whew...

 

Thanks,

2 REPLIES 2
mahoneypat
Microsoft Employee
Microsoft Employee

Have you tried this measure expression?

 

Group Min = MINX(ALL(Table[Group]), [Avg Percent Measure])

 

If this works for you, please mark it as the solution.  Kudos are appreciated too.  Please let me know if not.

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


lbendlin
Super User
Super User

As the russian proverb goes "It's not harmful to want".

 

Keep in mind that you are dealing with measures here, so there is no way for you to store any information. You have to recalculate everything every time.  There goes your slicer idea...

 

just saying "it should be simple"  doesn't make it so.  Go at it methodically, step by step. Use lots of variables and lots of concatenatex() to validate that the variables are returning the expected intermediate results.

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.