Alteryx Designer Desktop Discussions

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

Simple Left Outer Join........

fiorano
8 - Asteroid

HI,  

 

What is the easiest workflow to do a simple left outer join?

 

I have a data table :

 

IDCODE
1a
2a
3b
4b
5b
6c
7d
8e

 

a look up table :

CODEValue
aXYZ
bDEF
eKJL

 

 

And I require the following output :

IDCODEValue
1aXYZ
2aXYZ
3bDEF
4bDEF
5bDEF
6c 
7d 
8eKJL

 

Can anyone advise please?  

 

Many thanks!

 

7 REPLIES 7
sjm
8 - Asteroid

Use the Join Multiple tool and join on Code. Leave "Only Output Records that Join from All Inputs" unchecked.

MSalvage
11 - Bolide

@fiorano,

 

You can use the Join tool and join on code. Then union the L and J outputs.

 

Best,

MSalvage

fiorano
8 - Asteroid

Hi @sjm

 

Thanks for the reply. This still only brings back records that are joined.....

 

 

fiorano
8 - Asteroid

thanks @MSalvage,  works perfectly

sjm
8 - Asteroid

hey @fiorano does the attached workflow give the output you're looking for? 

Willey_dup_372
5 - Atom

Thanks a lot.

Learnt from your example 🙂

MatthieuArzel
7 - Meteor

Thank you so much for this! I'd thought that the "join" action would include a checkbox option to allow an outer join. This is a much more sexier solution than the join + union combo action.

Labels