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
Let's say I have a column called First Name and column called Last Name. The name combo always means the same person, but it can appear on table multiple times. There's also the Account column, which is always the same for the name combo. How would I create a measure that sums the account while calculating the same name combo's account only once?
| First Name | Last Name | Account |
| Billy | Curtis | 30 000 |
| Billy | Johnson | 15 000 |
| Rachel | Thompson | 20 000 |
| Rachel | Thompson | 20 000 |
| Billy | Curtis | 30 000 |
| Total: 65 000 |
Solved! Go to Solution.
Hi @Anonymous
This should do the trick
Account Total =
SUMX(
SUMMARIZE('Table', 'Table'[First Name], 'Table'[Last Name], 'Table'[Account]),
'Table'[Account]
)
Hi @Anonymous
This should do the trick
Account Total =
SUMX(
SUMMARIZE('Table', 'Table'[First Name], 'Table'[Last Name], 'Table'[Account]),
'Table'[Account]
)
Seems to work, thanks!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 11 | |
| 10 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 32 | |
| 19 | |
| 12 | |
| 10 |