Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 50 | |
| 40 | |
| 37 | |
| 14 | |
| 14 |
| User | Count |
|---|---|
| 85 | |
| 69 | |
| 37 | |
| 28 | |
| 27 |