Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Join with 10 different columns as options

Hi everyone,

 

As the title says, I want to perform a join on two data sources - specifically, on the field "country". However, in data source A, the country name isn't standardized: there are 10 different options for how it could be spelled/written. So, I have a mapping table in data source B, where I have 10 columns, one per option. This is how I created the workflow:

 

Ponycatsurvivor007_0-1664889461261.png

 

 

Is there a more elegant (& efficient) way to handle this problem other than trying 10 different joins?

 

Thanks in advance for your help!

1 REPLY 1
OllieClarke
15 - Aurora
15 - Aurora

Hey @Ponycatsurvivor007 

 

Here's how I'd do this:

OllieClarke_0-1664898852536.png

I guess by grouping by both recordID and country, it's possible that multiple matches could occur, but I would be surprised by this outcome. Just wanted to flag that...

 

Ollie

 

Labels