Alert: There is a planned Community maintenance outage October 16th from approximately 10 - 11 PM PST. During this time the Alteryx Community will be inaccessible. Thank you for your understanding!

Alteryx Designer Desktop Discussions

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

REMOVE LEADING ZERO IN THE DIGITS

dunkindonut7777
8 - Asteroid

Hi I would like to know the exact formula of removing the zero at the start of the digit.

 

Here I have:

Code:           Expected Output:

001               01

002               02

003               03

011               11

012               12

 

Can you help me with this one pls?

1 REPLY 1
atcodedog05
22 - Nova
22 - Nova

Hi @dunkindonut7777 

 

I would say use Right([Field], 2) Or REGEX_Replace([Field], "^00","0")

 

Hope this helps : )

Labels