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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hello.
I want to get the sum of max values per country, per customer, per product.
Here is an example where revenue is the max of values
country | customer | product | quarter | revenue |
Germany | A | beverages | Q1 | 1000 |
Germany | A | food | Q1 | 1000 |
Germany | A | food | Q2 | 1500 |
Germany | B | beverages | Q1 | 1200 |
Germany | B | food | Q2 | 1700 |
Netherlands | A | beverages | Q2 | 1800 |
Netherlands | B | food | Q2 | 2000 |
@vbis ,
Check whether this is heling or not?
Max Sum =
VAR _tempTable = SUMMARIZE(
ALLEXCEPT('Table ',
'Table'[country],
'Table '[customer],
'Table '[product]),
"@Max sum",MAX('Table'[revenue]))
VAR _result = SUMX(_tempTable,[@Max sum])
RETURN _result
Thanks,
Arul
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.