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.
SOLVED

Match and Remove

IreneTrieu
7 - Meteor

Can someone please help me with the below

 

I am trying to match and remove data.  The data is not exact as the zeros were dropped in one file - see attached.  I need to find the data under "Asset ID" column from "Asset ID2" column and then drop the data on the output

 

Thank you in advance

Irene

 

5 REPLIES 5
Sebastiaandb
12 - Quasar

Hi @IreneTrieu ,

 

Not 100% sure what you want but if you want to have zero's back in the Asset ID column, just drop this in a formula tool on column 'ASSET ID":

 

PadLeft([ASSET ID], 12, 0)

 

It ensures all values consist out of 12 characters and are filled on the left side by zero's?

 

Greetings,

 

Seb

IreneTrieu
7 - Meteor

IreneTrieu_0-1666880650967.png

i tried the above and its not working:  error msg  "Parse Error at char(1): PADLEFT: 3rd argument must be a string (Expression #1)".  What am I doing wrong? 

 

Thanks

Irene

grazitti_sapna
17 - Castor

@IreneTrieu , Please use the below formula:

padLeft([Asset ID],12,"0"). The 3 argument must be in double quotes.

Sapna Gupta
Sebastiaandb
12 - Quasar

Sorry for not writing the full expression right @IreneTrieu (i just wrote it here without looking in Designer...)! thanks @grazitti_sapna

IreneTrieu
7 - Meteor

Thank you so much for all your help 

Labels
Top Solution Authors