The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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!
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
20 | |
12 | |
9 | |
7 |