Alteryx Designer Desktop Discussions

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

Append the last rows from mutiple csv files to different tabs in one XLSX file

nkazi01
7 - Meteor

Hi I will be creating 3 csv files everyday. These files have data that will be going in 3 different tabs of an existing xlsx file. Need help copying the data from each file to xlsx file tabs. 

 

input_file#1 -- T:/documents/2022-08-08/file1.csv

#date

name

12022

john

 

input_file#2 -- T:/documents/2022-08-08/file2.csv

citystate
nycnew york

 

input_file#3 -- T:/documents/2022-08-08/file3.csv

genderageheightweight
m22150150

 

 

output file --> T:/documents/final_file.xlsx

             sheet1 --> last row of input_file#1

             sheet2 --> last row of input_file#2

             sheet3 --> last row of input_file#2

3 REPLIES 3
Luke_C
17 - Castor

hi @nkazi01 

 

Bring each input in via an input tool followed by a sample tool configured for the last 1 record. Then you can output the files appropriately using the output tool.

binuacs
20 - Arcturus

@nkazi01 One way of doing this. As @Luke_C mentioned you need to use the sample tool for getting the last record of each file

 

binuacs_0-1659996036462.png

 

nkazi01
7 - Meteor

thank you @binuacs and @Luke_C  for your solutions and suggestions. 

Labels