Forum Discussion
max value in calculated field
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 :
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.
11 Replies
- Fowmy
Super User
- Greg_Deckler
Community Champion
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
- noliverte
Helper III
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