Calling all Alteryx customers: Refer your colleague to try Alteryx and receive a $50 gift card. Sign up now!

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
Top Solution Authors