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
Analitika
Post Prodigy
Post Prodigy

Duplicates when merging tables in Power BI

Hi,

 

I would like to ask  how to merge tables properly because now I am getting duplicates.

 

I wanted to join table when one column matches other column in second table.

 

Analitika_0-1659510361995.png

First table, column OBJ_KOD, 

second table:

 

Analitika_1-1659510400546.png

Column Obj,

So I used left outer join OBJ_KOD Obj. then got table with duplicated rows. I expected that I will add column value when obj_kod matches obj kod other will be null. So how resolve this issue?

 

 

4 REPLIES 4
PC2790
Community Champion
Community Champion

Hello @Analitika ,

 

If you are looking to get only the matching values, you should look to go for inner join.

You can assess your requirement and then decide the type of join you want to use.

A very nice article explaining the different types - here

Before merge:

Analitika_0-1659513093568.png

After duplicate:

Analitika_1-1659513229501.png

 

Before merge table:

Analitika_3-1659512050527.png

 

Merge:

 

 

After merge, gettting:

Analitika_2-1659511952278.png

Many duplicates

PC2790
Community Champion
Community Champion

can you share the M code from power query editor?

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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 Solution Authors