Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
eoinboylan
Partner - Contributor III
Partner - Contributor III

Load 'filename_*.qvd' from a folder when the latest file has a new field.

Hi,

I'm trying to load from a folder where qvd's are generated daily and then concatenated into one larger, consolidated qvd to store all the information for display.

Today_Data:

Load

     "Field 1",

     "Field 2",

     "New Field"

store Today_Data into [lib://Folder/Data_$(today).qvd]

(qvd);

All_Data:

Load

     "Field 1",

     "Field 2",

     "New Field"

From [lib://Folder/Data_*.qvd]

(qvd);

store All_Data into [lib://Consolidated Data Folder/All_Data.qvd]

(qvd);

This worked well until the customer requested a new field be added into the daily generated qvds from yesterday and now, because the legacy tables don't have the new field, the script fails when trying to store the All_Data table to the consolidated folder.

As the new field will be included from now on, is there a way of reading all these files without needing them to all have the new field?  Or even retroactively adding the new field to the old tables, even if it's just blank?

Thanks in advance for your help!

0 Replies