Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

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