Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

Adding a character in front of an IF formula result

bacon1983
5 - Atom

Hi I would like to add a negative sign "-" to go in front of the very 1st character of an IF result [notional]

 

Currently when the IF is TRUE this returns 10,000,000

 

I would like it to return -10,000,000

 

Field is currently set a s VW_String

 

IF Contains([Instrument], "Straddle") THEN
[Notional] ELSE
[pay: notional]
ENDIF

1 REPLY 1

Hi @bacon1983 

 

Would you please try to see if the below would work for you?

christine_assaad_0-1604596532739.png

 

Labels
Top Solution Authors