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

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