Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
I have data structured as such:
An Account can have multiple records in the same category. In such cases, their Revenue will be listed as the same value for each record. I need a MEASURE that will only sum the Revenue value ONE time per Account-Category combination. So in my example, Account 108392299 has two (2) records for the New category. Each record pulls in his revenue of $201.35. My resulting measure SummarizedRevenue, should only count the $201.35 ONE time because it is the same Account-Category combination. How can I construct such a measure?
Solved! Go to Solution.
If possible, i'd recommend going back to PowerQuery and just removing duplicate rows (unless there's a particular reason you need them?)
Otherwise, try a measure like:
Amt per Group =
var tempTable = SUMMARIZE('Table', 'Table'[Account], 'Table'[Catg], 'Table'[Amt])
return SUMX(tempTable, 'Table'[Amt])
hi @domtrump ,
try to plot with a measure like:
Sum =
SUMX(
SUMMARIZE(data, data[Account], data[Category], data[Revenue]),
data[Revenue]
)
it worked like:
hi @domtrump ,
try to plot with a measure like:
Sum =
SUMX(
SUMMARIZE(data, data[Account], data[Category], data[Revenue]),
data[Revenue]
)
it worked like:
If possible, i'd recommend going back to PowerQuery and just removing duplicate rows (unless there's a particular reason you need them?)
Otherwise, try a measure like:
Amt per Group =
var tempTable = SUMMARIZE('Table', 'Table'[Account], 'Table'[Catg], 'Table'[Amt])
return SUMX(tempTable, 'Table'[Amt])
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 8 | |
| 7 | |
| 6 |