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: 
vidya821
Creator
Creator

read input file with dynamic file name

Hi All,

 

I have a requirement where i need to read the input file, however the input file can have dynamic name

File name pattern is (Static + dynamic)

e.g

1) INPUT_FILE_123456.txt

2) INPUT_FILE_789548.txt

 

This pattern is applicable for delimited and excel file

Please suggest.

 

Thanks

Labels (2)
1 Solution

Accepted Solutions
TRF
Champion II
Champion II

Have a look to tFileList

View solution in original post

4 Replies
TRF
Champion II
Champion II

Have a look to tFileList
Irshad1
Contributor II
Contributor II

Hello 

 

If your file structure is same but are in n numbers with different names you can read it using tFileList. for example you're having below files:

XYZ_09122017.csv

XYZ_09112017.csv

XYZ_09102017.csv

XYZ_09092017.csv

 

You can give the pattern as XYZ_*.csv so that it will search the files in the path provided.

 

Thanks!

TRF
Champion II
Champion II

Did it help you?
If it did, feel free to mark the question as solved (Kudos also accepted).
Anonymous
Not applicable

Hello,

Is there any update for your issue? Here is also a scenario about:TalendHelpCenter: Iterating on a file directory.

Hope it will help.

Best regards

Sabrina