Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hello,
I would like to extract in a specific calculated field the following value (score max)...
I extract all my data from google analytics with campaign,goals,sessions,....
I want to score all my newletters and I started with the following formula :
Solved! Go to Solution.
Hi @noliverte
If my measure will work?
"compaign" is your "compaign list" table.
Measure 2 = MAXX(ALLSELECTED(compaign),[score])
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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.
Also, could be a Lookup Min/Max situation - https://community.powerbi.com/t5/Quick-Measures-Gallery/Lookup-Min-Max/m-p/985814#M434
Thanks Greg for your advices.
I think my model is maybe different... my measure doesn't exist in a real table, but just in a calculated field.
Maybe I have to change my model to include my score in each campaign... or create a new table (campaign/note) based on my visual graphic table on my reports area...
Have a nice day
Noliverte
@noliverte
Try a measure like:
MaxMeasure =
MAXX(
VALUES(TABLE[CAMPAIGN]),
[score]
)
________________________
Did I answer your question? Mark this post as a solution, this will help others!.
Click on the Thumbs-Up icon on the right if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Hello,
Thanks for your answer, but TABLE[CAMPAIGN] doesn't exist, I just put "graphic table", and simply fill with my data model
How can I transform the graphic table in a real table ? Is it possible ?
Noliverte
Replace TABLE with your table name CAMPAGNES
________________________
Did I answer your question? Mark this post as a solution, this will help others!.
Click on the Thumbs-Up icon on the right if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Maxx function refer to a real table (i think), when I try this code :
Hi @noliverte
If this is still a problem, please share a simple sample data without privacy information so i can test and figure out this problem.
Best Regards
Maggie
Hello,
I've just made a new powerbi file and i simplify sample...
- 3 tables in report graphic view
- relationship between tables
- my calculated field formula from score
score =
var Sobj1=sum(goals[goal1])
var Sobj2=sum(goals[goal2])
var Sobj3=sum(goals[goal3])
var note_all=(2*Sobj1)+(4*Sobj2)+(2*Sobj3)
return note_allQuestion :
How can I extract max score value in a specific calculated field ?
Do you have an idea ?
A response would be appreciated
Noliverte
Hi @noliverte
If my measure will work?
"compaign" is your "compaign list" table.
Measure 2 = MAXX(ALLSELECTED(compaign),[score])
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Ok I will simplify and post it, thank you.
@noliverte
Yes, it should work.
________________________
Did I answer your question? Mark this post as a solution, this will help others!.
Click on the Thumbs-Up icon on the right if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.