We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Need help in multiple join

MadhavTR
8 - Asteroid

Hi All,

 

I am facing issue in using multiple joins. I have data coming in 3 streams

 

Stream 1Stream 2Stream 3
ReferenceReferenceReference
compcodecompcodecompcode
gstcodegstcodecompname
AmountTaxABN
compnamecompname 
transdate  

 

 

I am using multiple join on Reference, compcode but not getting right results. What am i doing something wrong?

 

Let me know how can i give more info if needed.

4 REPLIES 4
davidskaife
14 - Magnetar

Hi @MadhavTR 

 

You've not specified why the output is wrong, but, by default the Join Multiple tool will output all rows from the incoming data, regardless of them joining or not - take a look at the tool example for further info on this

 

There is a box to tick to specify that you only want records that join from all inputs, otherwise please provide more detail on the output you're getting and the expected output.

MadhavTR
8 - Asteroid

On a different note how to use the joins to merge the data from stream 1 and stream 2.

For example

 

Stream 1

ReferencecompcodegstcodeAmountCompname
12345401P3100abc
12345401P1200abc
12345199P1100xyz

 

Stream 2

ReferencecompcodegstcodeTaxCompcode
12345401P310abc

 

Expected Output

 

ReferencecompcodegstcodeAmountCompnameTax
12345401P3100abc10
12345401P1200abc0
12345199P1100xyz0

 

I have a third stream too but i am stuck in this only.

davidskaife
14 - Magnetar

Hi @MadhavTR 

 

Use a normal Join tool, joining on Reference, Compcode, GSTcode and compname then add a Union tool after the output to bring in the unjoined records

 

Capture.PNG

MadhavTR
8 - Asteroid

Thanks a lot. It helped.

Labels
Top Solution Authors