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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Duplicating the records while doing leftouter join

Hello ,

Below is 2 tables - 

table 1 - 

singamsagar_0-1621633138504.png

Table 2 -

singamsagar_1-1621633158641.png


Doing left outer join on  table 1 with  table 2 on file # and brining out release # from table 2. When am expanding am getting this output which is wrong-- the records are getting duplicated with release #'s with 14 records. Actual out put should be in 3rd screen shot should be 7 records the release # are duplicating . Please advice.

singamsagar_2-1621633192676.png

 

singamsagar_3-1621633212476.png

 

2 REPLIES 2
Anonymous
Not applicable

Hello Thankyou for your reply,  Join should be on both File # and TG/Amount then the outcome is coming as expected.

Yes if Join on only File# behaviour is right output is wrong.

jdbuchanan71
Super User
Super User

Why should the first line in your first table be release 273545 and not 273526?  What identifies it as belonging with 273545?  The behaviour you are seeing is exactly how a left outer join on File# only should work.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.