Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Multiple Join gives duplicate records

AnandKumar1
8 - Asteroid

Hi,

 

I'm trying to join 2 different files based on some condition .

This is my 1st file data

FundSecurity
1A89236THM0
2B05253JAU5
3CUSD

 

This is my 2nd file data

FundISINCusipBBSEC
1A49456BAM389236THM089236THM0
2B05253JAU528404Hk424290424244
3CUSD2404JL20880USD8392040848

 

I've used 3 Join tool 

1) Fund=Fund and Security = ISIN

2) Fund= Fund and Security= Cusip

3) Fund= Fund and Security= BBSEC

 

Now the problem is some value in present in both of security is present in both cusip and bbsec . So same record is coming in 2 join output which is actually duplicate. Like Security= 89236THM0  is present in Cusip & BBsec of second file.

 

How to handle 

 

 

AnandKumar1_0-1627644255581.png

 

11 REPLIES 11
AnandKumar1
8 - Asteroid

@atcodedog05 @HomesickSurfer 

I've 1300 records in left table and 900 in right table. If i join i should get <=1300 total records but instead i'm getting 117000

I dont understand why this cartesian join is happening when i've given join condition based on fund?

HomesickSurfer
12 - Quasar

Hi @AnandKumar1 

 

Why Join?

Labels
Top Solution Authors