In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Find and Replace, Beginning of Field help

wonka1234
10 - Fireball

Hi,

 

I am unable to append records correctly with using beginning of field on my data.

 

Dataset - norman alex

Dateset 2 - norman alex (NA)

 

 

Can someone help me configure the find and replace tool to append the records correctly? 

 

SHould be like for like.

 

Also I want the workflow to be able to also account for records just like this

 

Dataset 1 - norman alex

dataset 2- norman alex.

 

See workflow attached.

11 REPLIES 11
binu_acs
21 - Polaris

@wonka1234 Updated the join key value in the first dataset with a formula tool

binuacs_0-1684159635034.png

 

wonka1234
10 - Fireball

@binu_acs  thanks, do you have anything that may get rid of any bracket initials IF it exists? Ie if the persons name is Louis Stevens it may display as Louis Stevens (LS)

binu_acs
21 - Polaris

@wonka1234 I updated the formula to remove anything with () will be replaced with blank value 

binuacs_0-1684161330067.png

 

wonka1234
10 - Fireball

@binu_acs  this works but if the word doesnt have brackets it makes it blank! :( 

 

ie if its just Louis Stevens, it becomes blank!

binu_acs
21 - Polaris

@wonka1234 I updated the formula to apply the regex formula only there is ( else no change

binuacs_0-1684163256395.png

 

wonka1234
10 - Fireball

@binu_acs  question, what if there is two brackets in a name? 

 

ie  Louis (Lamar) Stevens (LS)  and make that into Louis Stevens... IFF the bracketed items exist?

binu_acs
21 - Polaris

@wonka1234 @How would you like to see this record in the output ? 

wonka1234
10 - Fireball

@binu_acs 

 

Input  vs output

 

Louis Stevens (LS)Louis Stevens
Louis (Lamar) Stevens (LS)Louis Stevens
Louis StevensLouis Stevens
binu_acs
21 - Polaris

@wonka1234 Try the updated workflow and let me know if you see any issues

binuacs_0-1684186744720.png

 

Labels
Top Solution Authors