Alteryx Designer Desktop Discussions

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

Read file name for data output

henrygeorge
8 - Asteroid

Hi I am reading a directory of excel files with specific sheet name "ABC123"

The file names of these excel files are "ABC 2023Dec30.xlsx" and "CO 02-02-2021.xlsx"

 

Excel 1 in Folder - ABC 2023Dec30.xlsx

 

   
   
No of CarsItem NoPerson
1212312Alex

 

Excel 2 in folder - CO 30-02-2021.xlsx

 

   
   
No of CarsItem NoPerson
15123131Mer

 

How do i output this data in these two files in a union (they both have same headers in the specific sheet "ABC123" starting from the 3rd row) and take the date as one of the outputs?

 

Desired Output :

No of CarsItem NoPersonDate
1212312Alex30-12-2023
15123131Mer30-02-2021
2 REPLIES 2
jrgo
14 - Magnetar

Not sure if this is what you're asking, but there's an option in the Input options to "Output File Name as Field". 

image.png

grazitti_sapna
17 - Castor

Hi@henrygeorge 

I have made Workflow for your Problem. Please Check.

If it works Kindly accept it as Solution.

Thanks

Sapna Gupta
Labels