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.
SOLVED

Formula error

marlylove
7 - Meteor

I have a workflow where every line (transaction) needs a unique ID in the form of T1, T2, T3, etc. I used the Create New Column tool which works to number my lines, however now I need to add the "T" before the number.  I have tried using a formula tool to add the T to the line number but it's bringing back "-1" on every line or "0" depending on the format. Can someone help? I have added an example workflow.

2 REPLIES 2
Luke_C
17 - Castor
17 - Castor

Hi @marlylove 

 

Try this. 2 issues:

 

  1. Needed to change the field to a string rather than numeric
  2. '&&' is not the proper syntax for this. + should be used to combine strings. 

Luke_C_0-1647461710688.png

 

 

marlylove
7 - Meteor

Perfect, thank you!

Labels
Top Solution Authors