Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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.
POSTAL_CODE NBR_PAR
1000 2
2000 4
3000 2
In my graph in need the sum 8 and not the maxx 4 .
@Vanessa250919
Is [NBR_PAR] a column in the sorce table or a measure?
What are you slicing by in the graph? Aea, city, date, month?
is an column .
city in graph .
@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] )
Ok, it's work, but I need to used the max of this measure in my graph to have a steady bar
@Vanessa250919
Max Postal Code for each city? or Max City among all cities? The later would be
NBR_PAR_Max =
MAXX ( ALLSELECTED ( 'Table'[City] ), CALCULATE ( SUM ( 'Table'[NBR_PAR] ) ) )
Max for all cities, in this case I have max for one city
NBR_PAR_Max =
MAXX ( VALUES ( 'Table'[Postal Code] ), CALCULATE ( SUM ( 'Table'[NBR_PAR] ) ) )
I try this measure and I have the same result
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 14 | |
| 7 | |
| 5 | |
| 5 |
| User | Count |
|---|---|
| 29 | |
| 18 | |
| 17 | |
| 11 | |
| 10 |