Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
I have issues with a dataset I am working on. I replaced the look up function I would use in Excel by merging two tables, but the rows get duplicated and it gets impossible to load. I tried filtering out the dataset for clarity sake and tested out all of the join possibilities. None of them works 😞
Looking at the advanced editor with the latest attempt I see this line of code:
#"Merged Queries1" = Table.NestedJoin(#"Filtered Rows1", {"Art der Förderung"}, Preisliste, {"Type of Subsidy"}, "Preisliste", JoinKind.LeftOuter)
I am stumped as to what I can do to fix this. Is there any other feature in PBI besides Merge which can be used to replace look ups? Or anyway I can automatically remove all duplicated rows in the next step?
Thanks,
Pauline.
Hello,
You may create a table containing unique values (Art der Förderung)
By creating a unique ID (Merge columns or other)
Then your left join should work perfectly.
Hi @Berl21 ,
Here's the similar post you could refer to:
Solved: Merged queries is duplicating values - Microsoft Power BI Community
And there's the blog about how to replace values based on lookup table:
How to replace values based on lookup table in Power Query (pbimaster.com)
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.
Hi @Berl21 ,
You can remove duplicates by right-clicking on the column name and then clicking on remove duplicates.
Please check if it helps.
If this doesn't solve your issue, can you please attach a sample your both tables you are trying to join/merge? That would be really helpful for everyone here to solve the issue.
Give a Thumbs Up if this post helped you in any way and Mark This Post as Solution if it solved your query !!! Proud To Be a Super User !!! |
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
15 | |
11 | |
8 | |
8 | |
7 |
User | Count |
---|---|
15 | |
13 | |
9 | |
6 | |
6 |