Forum Discussion
Vanessa250919
3 years agoHelper V
Sum maxx
Hello, I try to have a measure to have a sum for the value for one column . I need in my graph the max value and not a variation value, it's possible ? Thanks in adv.
tamerj1
3 years agoCommunity Champion
Vanessa250919
It should work. Double check the data type of the 'Table'[NBR_PAR] column. It has to be a number not a text.
You may also create a measure
NBR_PAR_Measure = SUM ( 'Table'[NBR_PAR] )
Vanessa250919
3 years agoHelper V
Ok, it's work, but I need to used the max of this measure in my graph to have a steady bar
- tamerj13 years agoCommunity Champion
Vanessa250919
Max Postal Code for each city? or Max City among all cities? The later would beNBR_PAR_Max = MAXX ( ALLSELECTED ( 'Table'[City] ), CALCULATE ( SUM ( 'Table'[NBR_PAR] ) ) )- Vanessa2509193 years agoHelper V
Max for all cities, in this case I have max for one city
- tamerj13 years agoCommunity Champion
NBR_PAR_Max =
MAXX ( VALUES ( 'Table'[Postal Code] ), CALCULATE ( SUM ( 'Table'[NBR_PAR] ) ) )