In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Dynamic Renaming Data From Fields

sanketkatoch05
8 - Asteroid

Hi, 

I have a column in my data that contains a set of numbers in a certain format/length. I want Alteryx to find the cell which has a maximum no. of characters first, and then using that as a reference, add preceding zero(s) accordingly.

 

For reference : 

INPUT

354

4567
2
456789
77

 

OUTPUT : 

ID

000354

004567
000002
456789
000077
2 REPLIES 2
phottovy
13 - Pulsar
13 - Pulsar

Hi @sanketkatoch05 

 

The attached workflow gives you what are looking for, I believe.

sanketkatoch05
8 - Asteroid

Thank you @phottovy , this is what I was looking for. 

Labels
Top Solution Authors