Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask 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 with blank

Carlyn
8 - Asteroid

Hi

I am trying to remove leading 000000's on some data.

I had thought that I could use find and replace, but the replace column requires something to be entered for it to reflect.

I have tried " " to insert a space with the idea that I would then remove the leading spaces, but that doesn't appear to work.

Can anyone advise a better way to remove these? This is not for every row, as not all rows have these 000000's in the reference.

See attached for context

Thanks
Carlyn

 

 

3 REPLIES 3
perin
8 - Asteroid

Hello Carlyn,

 

I recommend you check the type of the data, a formula should solve your problem (I also added a tostring formula). I am attaching an example of a workflow to perform this replacement.

 

Have a nice week!

 

Best,

Gustavo.

Carlyn
8 - Asteroid

Thank you that worked a treat!

Ankur_BDO
7 - Meteor

Use a formula tool and apply the expression ReplaceChar([Target column], "Target column","Replacement char")

Labels
Top Solution Authors