Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
解決済み

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

fiorano
アステロイド

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件の返信7
sjm
アステロイド

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

MSalvage
ボリード

@fiorano,

 

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

 

Best,

MSalvage

fiorano
アステロイド

Hi @sjm

 

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

 

 

fiorano
アステロイド

thanks @MSalvage,  works perfectly

sjm
アステロイド

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

Willey_dup_372
アトム

Thanks a lot.

Learnt from your example 🙂

MatthieuArzel
メテオール

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.

ラベル