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.

Find and replace Value is not accurate

wonka1234
10 - Fireball

Hi,

 

I am trying to use find and replace to bring in matched or semi matched strings.

 

but in my number2 column - this doesnt belong to Louis. It belongs to Ren.

 

 

How can I fix this?

12 REPLIES 12
DataNath
17 - Castor
17 - Castor

@wonka1234 you're seeing Louis next to that number because in the previous step you have conducted a join on the Cust_No, so the number for Louis finds itself. When you do the Find Replace you do actually get the number for Ren - if you tick to append the [Name] field as well you can see this:

 

0000.png

alexnajm
17 - Castor
17 - Castor

This is correct based on the configuration you have -  I assume you want this instead!Find and replace Value is not accurate.PNG

wonka1234
10 - Fireball

@alexnajm 

@DataNath 

 

Thanks. But how do I look for louis records only for louis'. I need to use Cust_nO somehow to only put my data from datsource 2 into data source 1. 

 

What if I had this - 

 

Name Cust_No Nmmber
Louis 55555 0000
Ren 66666 6575
Louis 5555 6575

alexnajm
17 - Castor
17 - Castor

@wonka1234 your explanation is a bit confusing - can you give us your updated workflow and expected output?

wonka1234
10 - Fireball

@alexnajm  Sorry. I mean I want to do the lookup but Ren shouldnt be found in the final output.. Only if Cust # match then do the find and replace

alexnajm
17 - Castor
17 - Castor

@wonka1234 based on that explanation, it sounds like you want to do this. If this is not the goal, further explanation will be needed - it is best if we have the final expected output.

Find and replace Value is not accurate #2.PNG

wonka1234
10 - Fireball

@alexnajm  yes but then from here I need to compare Number columns... But i dont NEED exact matches, I need to see if Number2 is in Number or closely matched.

alexnajm
17 - Castor
17 - Castor

If that worked, then what is your expected output?

wonka1234
10 - Fireball

@alexnajm 

 

datsource 2 input - 

 

 

 

NameCust_NoNmmber
Louis555550
Ren666666575
Louis55555

6575

 

 

expected output - 

 

 

NameCust_NoIDNUMRight_NameRight_Cust_NoNmmberName2Nmmber2
Louis55555License56575Louis555550Louis6575
Louis55555License56575Louis555556575Louis6575

 

perhaps even make this one row

Labels