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. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. 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

String Formula Field concatenating Date and String Zeroing out

aMac
8 - Asteroid

I have a formula field that says:

 

"Error Log - " && DateTimeToday()

Field data type is a V_WString [128]

 

And I am able to successfully get an output for either of those expressions by themselves, but when I attempt to concatenate those values like in the statement above, the Formula field's output is '0'.

 

What do I need to adjust so that the ouput reads as 'Error Log - yyyy-mm-dd' in the output?

1 REPLY 1
JohnJPS
15 - Aurora

Hi @aMac,

Try a plus instead of a double ampersand:

"Error Log - " + DateTimeFormat(DateTimeToday(),"%Y-%m-%d")

 

Labels
Top Solution Authors