This interactive demo was created free with Storylane in 2 minutes. Create your own demo
This interactive demo was created free with Storylane in 2 minutes. Create your own demo
Start free
All Tutorials /Alteryx

How to Remove the Leading Zeros in Alteryx

Updated on:
June 5, 2026
By:
Madhav Bhandari
Use this interactive demo to remove leading zeros from your data in Alteryx.

‍

It is very easy to remove the leading zeros in Alteryx. Here’s a short tutorial on how to do it:

  1. Inside Alteryx's workflow designer, head over to the left-side panel and find 'Formula'. Drag this tool onto the canvas and connect it to the Input Data tool or other sources.
  2. After that, go to the right-hand panel to make your desired configuration. To get started, enter your preferred name for the Output Column and set its Type according to your liking.
  3. After that, head over to the Formula field and type 'TrimLeft'.
  4. Subsequently, select it from the suggested results.
  5. Replace the String value with '[' and then select the field you want to edit.
  6. Likewise, delete the Y input and replace it with "0". Make sure that it is enclosed with open and closed quotation marks.
  7. Finally, the leading zeroes will be removed from the non-zero values of the selected field in your Alteryx workflow.

📌 Why this matters

Removing leading zeros ensures your data matches external systems that store the same values without padding. When you're joining datasets or performing lookups, "00123" won't match "123" even though they represent identical information. This mismatch breaks relationships and creates duplicate records where none should exist. Beyond data integration, leading zeros can interfere with mathematical operations and sorting logic, causing values to be treated as text rather than numbers. Clean data formatting prevents these downstream issues and maintains consistency across your entire analytical pipeline.

Your product deserves an interactive demo
Start free
Similar Articles
Alteryx

How to Integrate Alteryx with Snowflake

Madhav Bhandari
Director of Marketing @ Storylane
Alteryx

How to Compare Two Files in Alteryx

Madhav Bhandari
Director of Marketing @ Storylane
Alteryx

How to Use the Summarize Tool in Alteryx

Akshaya Chandramouli
Head of Brand at Storylane
No items found.
Platform
Interactive Demos
Sandbox Demos
Hubs
RepX
Integrations
Solutions
Product Marketers
Growth & Demand Gen
Sales Reps & AEs
Presales & SEs
Customer Success
Product Managers
Customers
Demo Showcase
Customer Stories
Finer Demos Club
Features
Demo Signals
Personalization
Deal Intelligence
Resources
Blog
The Plot
Tutorials
Help Docs
What’s New
Demo Dundies
Company
Careers
Pricing
Partners
Contact
Trust Center
Backed by
Chrome Extension Icon
Chrome extension
Download
Desktop app
Download
Built in San Francisco Bay Area - ©2026 Storylane
Privacy PolicyTerms & Conditions
X Corp (formerly Twitter)LinkedIn
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it