Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.

Alteryx Designer Desktop Discussions

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

Joining multiple reference columns to a single reference column

Shaw_16
5 - Atom

Hey All!

 

I am having issues joining two sets of data together. There is s single point of reference between the two sheets; but while one is consolidated into a single column, the other has the information spread across three columns. 

 

I've tried different Join and Multi Join configurations but I seem to need three different Joins and a Union to get either partial results or with the Multi-Join I only seem to be getting Union results. 

 

Below is some sample data the mimics the tables I'm trying to Join - I'm wanting to Join on the "Area" columns.

 

Multi-Column Reference 

Record IDArea 1Area 2Area 3Full NameAddress
1  11111Adam Sample4123 Street
2 11116 Gus Sample5223 Street
3  11112Dave Sample6323 Street
4  11113Steve Sample7423 Blvds
5  11114Herc Sample8523 Blvds
6  11115Medae Sample9623 Street
7 1111711118Janice Sample11723 Street
811119  Nancy Sample3823 Ave
911120  Bill Sample2923 Ave
101112111122 Zoe Sample11023 Ave

 

Single Column Reference

AreaUnitUnique Info
111111203f4j8asdlgkfjfg
111161m302askdnf0alskdgjn
111121203f4j9skdfphjm
111131m302askdnf1wpeorit
111141203f4j10sldfjm
111151m302askdnf2sldfmsdf
111181203f4j11alksdjalksj
111171m302askdnf3akdofmpg
111191203f4j12apofdjkg
111201m302askdnf4pzslfdaghl
111221203f4j13apohekj
111211m302askdnf5sipojfnmafds

 

Let me know if that makes sense or if more clarification is needed 🙂

 

Attached as well are the two sample data files

3 REPLIES 3
kelsey_kincaid
12 - Quasar
12 - Quasar

Hi @Shaw_16 ,

It might help to consolidate all of these fields into a single field using Transpose, then join that back with your original dataset. From there you can join on that Area ID.

 

kayers_0-1590682577306.png

 

Shaw_16
5 - Atom

Hey kayers, 

 

This would probably work if I had a smaller amount of rows - with the original docs one has nearly 10k lines, the other is 30k - 40k. 

Shaw_16
5 - Atom

I forgot that Alteryx isn't unwieldy like excel is when moving around large amounts of data!

 

Tried this out and it solves the issues 🙂

Labels