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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Load files with datenames

Hi,

I want to load numerous files that have dates in their names. And i want to load all files execpt the one with todays date.

So a few examples:

Load *

From File_2011-09-01.qvd

(Will load that specific file)

Load *

From File_*.qvd

(Will load all files)

I dont know how to write the variable that's going to narrow my filename so eveyfile except todays will load.

Please help.

Thanks!

Labels (1)
1 Solution

Accepted Solutions
martinpohl
Partner - Master
Partner - Master

Hello,

you can do it like this:

Load * from File_*.qvd (qvd) where filebasename() <> 'File_'&today();

Maybe you have to edit the today-date-format.&date(today(),'YYYY-MM-DD').

Regards

View solution in original post

2 Replies
martinpohl
Partner - Master
Partner - Master

Hello,

you can do it like this:

Load * from File_*.qvd (qvd) where filebasename() <> 'File_'&today();

Maybe you have to edit the today-date-format.&date(today(),'YYYY-MM-DD').

Regards

Anonymous
Not applicable
Author

Thanks alot!