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! It's time to submit your entry. Live now!
Hello All,
I have two table i.e Table A , Table B. Table A contains unqiue acct combination while Table B contains duplicate account combination. I'd like to create a new Collumn in Table A summarizing the the account combination row totals in Table B.
See below example. Thanks in advance
Solved! Go to Solution.
Just off the top of my head:
Group table B by the Account Combination column, summing up the Total column, then Merge table A and table B, importing the now summarized column.
Hi @Anonymous ,
Besides using 'Merge' in power query, you can also create a calculated column by DAX to keep Table B:
New Column =
CALCULATE (
SUM ( 'Table B (2)'[Total] ),
FILTER (
ALL ( 'Table B (2)' ),
'Table B (2)'[Account Combination]
= EARLIER ( 'Table A (2)'[Account Combination] )
)
)
Attached a sample file in the below, hopes to help you.
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Besides using 'Merge' in power query, you can also create a calculated column by DAX to keep Table B:
New Column =
CALCULATE (
SUM ( 'Table B (2)'[Total] ),
FILTER (
ALL ( 'Table B (2)' ),
'Table B (2)'[Account Combination]
= EARLIER ( 'Table A (2)'[Account Combination] )
)
)
Attached a sample file in the below, hopes to help you.
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Just off the top of my head:
Group table B by the Account Combination column, summing up the Total column, then Merge table A and table B, importing the now summarized column.
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 16 | |
| 14 | |
| 9 | |
| 8 | |
| 7 |