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

Using Replace tool

corinne
6 - Meteoroid

Hi 

Not sure if anyone can help. 

 

I have multiple records that have directions in the beginning and the end. 

do you know how I can remove it from my record and create the Parsed columns. 

 

Reason is currently they are not matching because the direction from both files (different sources) are recorded differently. 

 

Example 

 

REC_IdStreet_nameParsed Street NameParsed street name DirectionJoined St_Network
1Jane St WJane StWW Jane St
2SW Bob BlvdBob Blvd

 

SW

Bob blvd SW
311th ST E11th STEE 11st St

Any help would be very welcomed. 

 

thanks, 

 

Corinne

4 REPLIES 4
pedrodrfaria
13 - Pulsar

Hi @corinne 

 

You would be looking at Fuzzy Matching as a solution.

 

pedrodrfaria_0-1613423468769.png

 

Pedro.

 

markcurry
12 - Quasar

Hi @corinne 

 

You can use the formula ....

Replace([Joined St_Network], [Parsed street name Direction], "")

to remove the directions from the street name.  This will leave trailing or leading spaces, so use the Data Cleansing tool afterwards.  I hope that helps.

 

Mark 

corinne
6 - Meteoroid

ahh it worked but it also removed the other letters that is in the record. 

 

is there a way to just removed the Direction letter (E, or W etc)?

markcurry
12 - Quasar

Hi @corinne 

 

Sorry I should have thought that the replace function would remove all instances of N, S, E etc.   I've attached a workflow with a different method,  it checks if the street name either begins or ends with the direction, and if it does it removes that from the beginning or end of the street name.  

 

Mark

Labels