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
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.
View solution in original post
Hi @lmontaos ,
Besides using 'Merge' in power query, you can also create a calculated column by DAX to keep Table B:
New Column =
SUM ( 'Table B (2)'[Total] ),
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 LiIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Learn how to create your own user groups today!
Click here to read more about the November 2021 Updates!
Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.