We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

How to use Join tool and String contains at the same time?

novalcia
7 - Meteor

I have data like this:

 

COLUMN ACOLUMN BCOLUMN B MODIFIED
812123005.01.000010.812123005.01.00812123005.01.00
812200001.00.000010.812200001.00.00812200001.00.00
0010905980084013600010.905980084.01.36905980084.01.36
0110905980084013600110.905980084.01.36905980084.01.36

 

What I'm trying to do is:

- I have [column B] data and I want to find only those that exists in [column A] too

- Most of the data in [column A] looks like row 1 and 2, so I modified the [column B] to be the same format (removed the first 5 characters)

- But there are some data in [column A] that has a different format (row 3 and 4)

- And I can't use the [column B modified] in that case

- Row 3 and 4 in [column B modified] is the same, but they're referencing different things because the first 4 characters in [column B] is different

 

So for row 1 and 2, I can use Join Tool between [column A] and [column B modified].

 

But for row 3 and 4, even if I modify the [column B] again to remove the dots, it still won't hit, because there's an extra 0 at the end in [column A] that is missing from [column B]. Is there a way to use Join Tool but also the feature String Contains at the same time? If I use the Filter tool, I have to manually put all the values with the different format from [column A] in the tool and I just thought there must be a more efficient way?

 

If possible, I don't want to modify [column A] at all.

2 REPLIES 2
TimN
13 - Pulsar

I tried to match A to B or B to A.  See if this is what you need.

Raj
16 - Nebula

One way I suggest is remove all the Punctuation from both the columns and them use find and replace tool to set column B contains column A 
this will work in your Case.

Labels
Top Solution Authors