ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. 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.
解決済み

Replace ID and add extra characters

swapsingh2712
アステロイド

Hello All,

 

I've a list of the test ID's that are available in the attached workflow, which is getting generated automatically.

 

so the requirement is  Test ID should be formatted as ‘TI’ + ‘XXX’, where XXX is 3 digit integer. Tool is currently excluding leading zeros. Eg I am seeing ‘TI2’ instead of ‘TI002

and if it's 12th record it should show as  'TI012'.

 

Could you please advise how to format these ID's

 

Please find my workflow in the attachment

 

BR

swapsingh2712

4件の返信4
atcodedog05
22 - Nova
22 - Nova

Hi @swapsingh2712 

 

Us this formula

 

 

'TI'+PadLeft([Max_TEST_ID],3,"0")

 

 

atcodedog05_0-1643645288956.png

 

Hope this helps : )

binu_acs
ポラリス

@swapsingh2712 updated your workflow 

binuacs_0-1643645585773.png

 

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @swapsingh2712 

Cheers and have a nice day!

swapsingh2712
アステロイド

Thank you so much for your help.

 

I need help with another alteryx workflow. Will post the question shortly. Hope you'd be able to help :)

ラベル
トップのソリューション投稿者