SOLVED
Simple Left Outer Join........
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
fiorano
8 - Asteroid
‎11-29-2017
09:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
HI,
What is the easiest workflow to do a simple left outer join?
I have a data table :
ID | CODE |
1 | a |
2 | a |
3 | b |
4 | b |
5 | b |
6 | c |
7 | d |
8 | e |
a look up table :
CODE | Value |
a | XYZ |
b | DEF |
e | KJL |
And I require the following output :
ID | CODE | Value |
1 | a | XYZ |
2 | a | XYZ |
3 | b | DEF |
4 | b | DEF |
5 | b | DEF |
6 | c | |
7 | d | |
8 | e | KJL |
Can anyone advise please?
Many thanks!
Solved! Go to Solution.
Labels:
- Labels:
- Best Practices
- Common Use Cases
7 REPLIES 7
sjm
8 - Asteroid
‎11-29-2017
09:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Use the Join Multiple tool and join on Code. Leave "Only Output Records that Join from All Inputs" unchecked.
MSalvage
11 - Bolide
‎11-29-2017
09:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎11-29-2017
10:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎11-29-2017
10:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
thanks @MSalvage, works perfectly
sjm
8 - Asteroid
‎11-29-2017
10:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
hey @fiorano does the attached workflow give the output you're looking for?
Willey_dup_372
5 - Atom
‎09-10-2019
03:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks a lot.
Learnt from your example 🙂
MatthieuArzel
7 - Meteor
‎02-09-2020
09:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
