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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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