Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
SR2210
Contributor
Contributor

Extract multiple excel files with tfileList

Hi All,

I have 2 excel files with different names;

  1. *** Manufacturing POP. xlsx
  2. PC ***.xlsx

I need to load both into PostgreSQL database. The problem is, only the first tfileinputExcel is picking up the 2 files. The second tfileinputExcel is extracting data from the first file only. As you can see in screenshot below, the first tfileinputExcel loads 395 rows and the second one loads only 346 rows. Can anyone help on this? Screenshot of my job is as below. Thank you

0693p000009pzPqAAI.jpg

0693p000009pzPvAAI.jpg

0693p000009pzQ5AAI.jpg

Labels (2)
1 Solution

Accepted Solutions
Ganshyam
Creator II
Creator II

Hi,

 

Iterating through the tfilelist might solve the purpose.It will pick up all the files that matches the file mask. Here you can also set the order for iteration.

 

0693p000009qGQWAA2.png

 

 

Regards

View solution in original post

4 Replies
pakapi_
Creator
Creator

I don't know what is going on in tMap's, but I think, you should use another tFileList, to load the second file - it will be more redable. What do you think ?

SR2210
Contributor
Contributor
Author

to use another tFileList should work, but since the structure of the files (sheet name, columns) are exactly the same, I just wonder if it's possible to list all the file names that I require in the filemask section and tFileInputExcel would be able to pick all of them in one go

Ganshyam
Creator II
Creator II

Hi,

 

Iterating through the tfilelist might solve the purpose.It will pick up all the files that matches the file mask. Here you can also set the order for iteration.

 

0693p000009qGQWAA2.png

 

 

Regards

SR2210
Contributor
Contributor
Author

Thanks!