Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

how can we join multiple fields using like operator from multiple data sets

mval
6 - Meteoroid

how can we join multiple fields using like operator from multiple data sets

9 REPLIES 9
bpatel
Alteryx
Alteryx
DannyS
Alteryx Alumni (Retired)

If you are trying to match fields with similar but not exact record values (e.g. joining First/Last names on Nicknames like Bob Smith on Rob Smith) I would suggest checking out our documentation on Fuzzy Matching. You can find help reference to Fuzzy Matching in AYX here: 

 

https://help.alteryx.com/2018.2/FuzzyMatch.htm

 

https://community.alteryx.com/t5/Alteryx-Designer/Tool-Mastery-Fuzzy-Match/ta-p/45485

mval
6 - Meteoroid

hi @bpatel, I am looking for like operator join but not equi join. As an example I want to compare "Table1 Name" using like with "Table 2 Name". Same thing I have to do with multiple fields. 

Table1

Name         Year    x      y
John Smith   2010    10     12
Adam Jones 2010 8 13
John Smith 2011 7 15

and

Table2

Name                    Year  z    
Smith John Smith John   2010  27
Jones Adam Jones Adam 2010 25
Smith John Smith John 2011 29

 

mval
6 - Meteoroid

Hi Danny,

 

Based on the below example, please help on how to approach this problem. Thank you.

bpatel
Alteryx
Alteryx

hi @mval ,

 

A find and replace should help you. i mocked up a workflow. hope this helps!

bpatel_0-1594848000540.png

 

mval
6 - Meteoroid

Thank you @bpatel. we can use Find Replace with one column comparison. I have to do the similar comparison for more than one column.

Like between "Table1 Name" and "Table2 Name" and "Table1 City" and "Table2 City". Thank you.

Table1

Name         City        x      y
John Smith   New York    10     12
Adam Jones Paris 8 13
John Smith Zurich 7 15

and

Table2

Name                    City           z    
Smith John Smith John   New York City  27
Jones Adam Jones Adam Paris City 25
Smith John Smith John Paris City 29

 

bpatel
Alteryx
Alteryx

hi @mval ,

 

in that case the fuzzy match should help. i attached the updated workflow

bpatel_0-1594849959927.png

 

mval
6 - Meteoroid

Thank you @bpatel. I don't see 3rd record in Fuzzy output, how can we incorporate it. What should we change in the config. of Fuzzy?

mval
6 - Meteoroid

I got it. Thank you both @bpatel and @Danny

Labels