Alteryx Designer Desktop Discussions

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

How to add date at the end of output file name

Nethaji_5
7 - Meteor

Hello All,

 

I would like to add the date at the end of the output file name.

 

Eg:

 

Sample Input File(Below): AR Input.xlsx

 

Nethaji_5_0-1603975373160.png

 

Output:

 

Req File Name: AR Output 10-23-2020.xlsx

 

Kindly please let me know the steps to achieve this and this "Date" should be from the column "Date" in the input file. 

 

9 REPLIES 9
atcodedog05
22 - Nova
22 - Nova

Hi 

 

Here is a workflow for the task.

Output:

atcodedog05_0-1603977776633.png

 

Workflow:

atcodedog05_1-1603977788608.png

Formula:

atcodedog05_0-1603977898485.png

Output tool config

atcodedog05_1-1603977951077.png

Hope this helps 🙂


If this post helps you please mark it as solution. And give a like if you dont mind 😀👍

grazitti_sapna
17 - Castor

Hi @Nethaji_5 , try this.

 

grazitti_sapna_1-1604034305803.png

 

grazitti_sapna_2-1604034316469.png

 

 

grazitti_sapna_0-1604034286900.png

 

 

Thanks.

Sapna Gupta
Qiu
20 - Arcturus
20 - Arcturus

@Nethaji_5 
Basically same with @atcodedog05  @grazitti_sapna , but also consider the input file as a variable as well
So it is more dynamic more.1030-Nethaji_5.PNG

Nethaji_5
7 - Meteor

Hi @Qiu  @grazitti_sapna  @atcodedog05 

 

Thanks for your reply

 

Looks like we have 3 different output files at the end but I need a single excel file at the output. 

 

In my original data set, I'm doing some transformation in the middle and I need to save the file with the date at the end of the file name.

 

Thanks,

Nethaji

 

 

Qiu
20 - Arcturus
20 - Arcturus

@Nethaji_5 

The workflow will export single output since the FilePath are the same.

Nethaji_5
7 - Meteor

Hi @Qiu 

 

Thank you, I'll check 

atcodedog05
22 - Nova
22 - Nova

Hi @Nethaji_5 

 

I am doing the same as @Qiu but using less tools and keeping it clean.

My formula itself is parsing the date and creating the filename. Instead of using a extra datetime tool

 

You can give it check 

 

On a kind note you can accept multiple solutions if it works

 

Happy to help 🙂

 

 

Nethaji_5
7 - Meteor

Hi @atcodedog05 

 

Thank you so much

atcodedog05
22 - Nova
22 - Nova

Happy to help 🙂 @Nethaji_5 

 

Cheers and Happy Analyzing 😀

Labels