Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Berl21
Helper III
Helper III

Merged queries return multiples rows

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.

3 REPLIES 3
SebSchoon1
Post Patron
Post Patron

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.

Anonymous
Not applicable

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.

Anand24
Super User
Super User

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.

PBI_SuperUser_Rank@1x.png  

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 !!!
LinkedIn

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors