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
I have two spreadsheets of rented Units that have different accounting data I want to consolidate. The spreadsheets are brought into different Power BI tables and are merged using a column I create from joining the same data in both tables. Everything is fine in each table until I expand the newly merged colum. At this point I have duplicate rows in different portions of the merged table. I have tried highlighting the 7 affected columns and Remove Duplicates but nothing is removed. Please advise as to what I am doing wrong.
Thank you
Hi All,
I am not sure if the issue was solved or not but I had a case like below and solved it with append queries. Here is the situation:
Table 1
| B/L Number | Revenue |
| 1 | 100 |
| 2 | 200 |
Table 2
| B/L Number | Cost Amount |
| 1 | -50 |
1 | -50 |
2 | -50 |
3 | -200 |
When I selected merge it was dupplicating the the line in revenue table because there were 2 of the some b/l number. So when I selected append here is the result:
| B/L Number | Revenue | Cost |
| 1 | 100 | -50 |
| 1 | null | -50 |
| 2 | 200 | -50 |
| 3 | null | -200 |
Hi @dburkart ,
It seems that you have found a solution to your problem, right?
It would be great if you could mark your reply as a solution.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you for the response. I am using the fuzzy match as it is the only one I have found that matches the columns correctly other than column 362-364 those columns should have a null returned not the TRI 2-207. I am merging two tables where I have created a Unit Building column common to both tables. The tables have differing info that I would like to have in one place.
Thank you again for your assistance.
Thank you for looking, I fouind my mistake and rectified it with a simple remove duplicates for one row.
I guess I just needed to write it down and turn it over in my mind.
It seems the duplicate removal works well except for three rows wher it duplicates itself. I have been unable to figure out a work around so far. I took a couple of screen shots and have uploaded them.
I have uploaded the Merge Query.
This is the result after dupes are removed Column 362 - 367
I don't quite understand what you are trying to do. Are you intentionally using a fuzzy match?
What do your original tables look like and what should the final result look like?
Alex,
Thank you for the response. I am using the fuzzy query as otherwise the query is not returning the total rows. The difficulty is Row 362--364 shou;ld return a null value via the merge but are returning a value of Tri 2-207 that is the correct value returned in row 365. The balance of the Merge seems to be correct; it is just the three rows that should be returning 203-205 and are instead returning Tri 2-207.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 9 | |
| 8 | |
| 7 | |
| 7 |