Forum Discussion
veranceftw
6 years agoHelper II
Measure won't sum up
Hello!
I have a measure that calculates the sum of a stat for every player. However, when I group those players as a team, instead of summig up all the measures for each player, it seems to be returning the average. How do I make it a sum?
Kind regards
Hi veranceftw ,
Sorry to reply late.
Please try to create a measure like so:
Measure 2 = SUMX(VALUES(all_match_stats[player_name]),[Pressure Final 3rd p90])Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
10 Replies
- az38Community Champion
how does look like your measure now?
- veranceftwHelper II
Like this:
Pressure Final 3rd p90 = SUM(all_match_stats[pressures_att_3rd]) / (SUM(all_match_stats[minutes]) / 90.0)- az38Community Champion
maybe you need smth with SUMX()
Pressure Final 3rd p90 = SUMX(all_match_stats, SUM(all_match_stats[pressures_att_3rd]) / (SUM(all_match_stats[minutes]) / 90.0) )but more correct and appropriate answer is possible if you provide more detail about your data model
- VijayPCommunity Champion
veranceftw What is the measure for 3.99 value , I think problem should be there