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.

Wrong Output is coming in Joint

rohit782192
11 - Bolide

Hello ,

 

In my Input  1 i have below

A B C
1 abc def

 

In my Input 2 i have below.

 

A B C
1 def abc

 

I am joining on Primary Key A.

 

I am getting a weird output.

 

Can anyone help me.

 

19 REPLIES 19
rohit782192
11 - Bolide

Attaching Workflow.

binuacs
21 - Polaris

@rohit782192 I dont see any issue in the join. Are you getting like below

 

binuacs_0-1654601165287.png

 

IraWatt
17 - Castor
17 - Castor

Hey @rohit782192,

The reason why you have the 'right' columns is because they are named identically in both left and right inputs so they have been prefixed with 'right'

IraWatt_0-1654601164083.png

If you want to remove them untick them in the join tool.

Any questions or issues please ask :)
HTH!
Ira

 

rohit782192
11 - Bolide

if both the cell B and C are not equal then why they are going in J . Expectation is they should go in L and R

binuacs
21 - Polaris

@rohit782192 for that you need to change the join like below

 

binuacs_0-1654601432301.png

 

rohit782192
11 - Bolide

I have joint on primary key . If i have joint on A, B , C then only i get the Expected output,.

IraWatt
17 - Castor
17 - Castor

They are joining because currently your just joining on A:

IraWatt_0-1654601448435.png

You need to do this:

IraWatt_1-1654601467369.png

 

rohit782192
11 - Bolide

Hello,

 

This is just a 3 column.

 

What about if we have 100 or 200 column.

 

You will joint on all.

IraWatt
17 - Castor
17 - Castor

@rohit782192 If you had 200 columns and you need to join on all 200 you should create a key column and then just join on that one key column

Labels
Top Solution Authors