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 remove "?" in colunm

TheSAguy
7 - Meteor

Hi,

 

I have an excel file and in my address 2 field I sometimes have the character ? that I want to remove.

I think because "?" is a special character, I'm not able to "catch" it.

 

My workflow:

Setup.png

 

Data:

Address.png

Thanks.

 

 

 

4 REPLIES 4
DataNath
17 - Castor
17 - Castor

@TheSAguy under the 'Replace Found Text With Value' configuration, you've selected your [Word_To_Find] field instead of [Replace_With] so you're just replacing ? with ? at the moment.

 

Alternatively you could just try using a Formula tool with an expression like:

 

if [ADDR_LINE2] = '?' then null() else [ADDR_LINE2] endif

binuacs
21 - Polaris

@TheSAguy You need to mention at least a space in the replace field

 

binuacs_0-1665502658411.png

 

Luke_C
17 - Castor
17 - Castor

Alternative formula on Address 2:

 

Replace([ADDR_LINE2],'?','')

 

Assumes valid addresses don't have a question mark in them, which I think is a fair assumption. 

TheSAguy
7 - Meteor

Thanks for the feedback

Labels
Top Solution Authors