We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Adding Date Today

KamenRider
11 - Bolide

Hi,

 

Can someone help me how I can add the date today under "Subject: Sales Report as of" which under Field1.

 

x.PNG

See attached file.

 

Thanks,

Kamen

 

 

5 REPLIES 5
rzdodson
12 - Quasar

If the subject is dynamically created through a formula, for example, you can always include the DateTimeToday formula within the text string that supplies your subject line in your email.

 

01. Solution.png

KamenRider
11 - Bolide

Hi @rzdodson 

 

Thanks for the response however my problem also lies on the sample I have provided which is set in column. How can I insert that date in that column?

 

Thanks,

Kamen

rzdodson
12 - Quasar

We can update that formula tool to find that specific text and do the replacement you need through concatenating the value in Field 1 with the DateTimeToday grouping. 

 

01. Solution.png

KamenRider
11 - Bolide

Hi @rzdodson 

 

Hi trying to use your formula in some other cases however, it seems not working. I am not sure what went wrong. Below is the input file:

input file.PNG

Here's the formula you have suggested. You may datetimetoday() for the date.

 

formula.PNG

Output of using the formula comes out like this

 

result.PNG

 

The correct result should look like this:

 

should look.PNG

Please advise as to where I got wrong.

 

Thanks,

Kamen

rzdodson
12 - Quasar

I suspect it is an issue with how your DATE field is formatted prior to coming in to that Formula tool. Typically, when you concatenate field elements in Alteryx, they need to be of the same data type. If you are concatenating a date element to a string field, the date element needs to be a string as well.

Labels
Top Solution Authors