Forum Discussion
Table Merge creates duplicate records
- 9 years ago
The problem lay with the Data.
The LEFT JOIN functionality of PowerBI works perfectly.
I'm having the same issue thanks. What did you do to fix your data set?
Hi, I was having the same issue, and then I noticed that my second file, from where I was getting the data, had also duplicated figures. That was the problem. After I deleted those duplicates, I clicked on the refresh button, and the problem was solved!
- Betho247 years agoFrequent Visitor
So, I am having the same issue and I just found your post and read it with hope. Although it has been helpful my issue is a little different just a tiny bit.
What I am doing is mergint two tables I am creating with M inside the advance query for one of my tables. In this operation I create two tables by doing a left anti join, that works fine.
I have table A that are all new leases.
I have table B with all terminated leases.
I want a single table C with both, so I need two columns, new lease, terminated lease. All this is fine so far.
I do then a nested join which is a left outer from the new leases to the terminated leases, so im keeping all that is new and just putting a false in those that are not.
The moment i merge is ok, but then when i expand the table is when booom, i get duplicates. The problem i just found is that while im using lease_id as my key to join, there are some that do not have that key because they are not leases, they are owned so it is a different number, and coincidentally those are the duplicated ones.
Any ideas on how to solve it ???
- BIWORKS7 years agoFrequent VisitorI am also facing the same issue.my both tables have duplicate rows. I want first column value to be picked only.
- JeremyFaverjon6 years agoNew Member
Many Many thanks! I had the exact sa;e problem and I indeed found duplicated values in one of my tables!
- dkeerthi6 years agoFrequent Visitor
I was joining on the the text field and it was creating duplicates. Once i unchecked the fuzzy option it worked for me.
- twkyoscr4 years agoFrequent Visitor
Thank you so much! This same method fixed my issue too
- Anonymous2 years agoNot applicable
Thank you! I was going crazy, not understanding why I have these duplicates after merging.
I really appreciate your help, you saved me a lot of time.