Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions


Joining 2 columns within a single data set based on a common string




Can anyone help me with a solution for joining two fields within a single data set based on both containing a common string part (not an exact match). I want to separate the matches from the non matches. 




I would suggest:

First, assign a row ID to each row; then parse the strings by every space so each word is in its own row.

If case doesn't matter, you could then add a formula tool to set the string to all caps.

Then apply the same filter you already used, group by row ID and join back to the original row.

Check out the attached.



Based on your attached workflow, it looks like the only thing you need to do is remove the quotes from your filter: Contains([Field 2], [Field 1])


Let me know if I've misunderstood.  Note that the filter assumes that the entire [Field 1] is contained somewhere in [Field 2].


thanks @danrh that was a quick fix!