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
Bexpurlz
Regular Visitor

Question with highest average score

I am trying to create a DAX Measure in Power BI to pull out the question with the highest average score. It's a very simple table, just question, person and score.
 

Any help appreciated

1 ACCEPTED SOLUTION
daXtreme
Solution Sage
Solution Sage

4 REPLIES 4
daXtreme
Solution Sage
Solution Sage

File attached...

Greg_Deckler
Super User
Super User

@Bexpurlz This looks like a measure aggregation problem. See my blog article about that here: https://community.powerbi.com/t5/Community-Blog/Design-Pattern-Groups-and-Super-Groups/ba-p/138149

The pattern is:
MinScoreMeasure = MINX ( SUMMARIZE ( Table, Table[Group] , "Measure",[YourMeasure] ), [Measure])
MaxScoreMeasure = MAXX ( SUMMARIZE ( Table, Table[Group] , "Measure",[YourMeasure] ), [Measure])
AvgScoreMeasure = AVERAGEX ( SUMMARIZE ( Table, Table[Group] , "Measure",[YourMeasure] ), [Measure])
etc.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Thank you for the reply, although I'm not sure if it's exactly what I'm after here.

 

I'm fairly new to dax, so struggling a little bit. I want to create a scorecard, that I will label 'question with highest average score' 

 

So I'm trying to use your code, but I don't really get the 'your measure' part, I don't have a measure yet so I'm getting a bit confused. I have attached a photo of the dax so far. I appreciate your help. 

16675816300141807558748736702963.jpg

Hi @Bexpurlz 

 

Has your problem been solved? If so, would you mind accept the helpful replies as solutions? Then we are able to close the thread. More people who have the same requirment will find the solution quickly and benefit here, thank you!

 

Best Regards,
Community Support Team _ xiaosun

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

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

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.