Start Free Trial

Alteryx Designer Desktop Discussions

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

How can I join two tables of different lengths together in a clean manner?

fiddycodes
8 - Asteroid

Table 1

nameschool
chrisunc
johnUCF

 

Table 2

major
biology
math
chemistry

 

Desired output

 

nameschoolmajor
chrisuncbiology
johnucfmath
null or emptynull or emptychemistry

 

So far, I haven't been able to get neither union nor join to achieve this. Please help!

4 REPLIES 4
Luke_C
17 - Castor
17 - Castor

Hi @fiddycodes 

 

In this specific example the join multiple with 'join by record position' set will do this for you.

 

In your sample data you don't really have a field to do a true join on, so if this isn't exactly what you need can you describe your use case more?

 

Luke_C_0-1674753953728.png

 

 

ShankerV
17 - Castor

Hi @fiddycodes 

 

Please find the expected output.

 

ShankerV_0-1674754053795.png

 

binu_acs
21 - Polaris

@fiddycodes One way of doing this

binuacs_0-1674754074959.png

 

fiddycodes
8 - Asteroid

This is exactly what I need. Didn't know about the join multiple. Thanks!

Labels
Top Solution Authors