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

Announcements
Posting on Qlik Community is temporarily paused. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Limit Load QVDs

Hi All,

I have a problem when I want to limit qvd to concatenate into one qvd. For example I have 5 QVD history (Table_Jan2012, Table_Feb2012, Table_Mar2012, Table_Apr2012, Table_May2012). Every table created in the last days of month.

We all know, we can use wildcard (*) if we want to load all QVD directly (Table_*.qvd) and concatenateed into one qvd..

But in this case I want to load only last 3 QVD history automatically (Table_Mar2012, Table_Apr2012, Table_May2012), and save it into one qvd. And next month the script load only Table_Apr2012, Table_May2012, and Table_Jun2012;

Anyone know how to make it?

Thanks before.


Regards,

Heri

Labels (1)
3 Replies
Not applicable
Author

Maybe have a look at the addmonth function

Let vTodayMinusThree = addmonths('$(vMaxDate)',-3);

Not applicable
Author

thanks brianm for your respon,

I dont think its can solve my problem, because the QVDs name is in string format.

Table_Mar2012 --- Mar2012 is string format..

regards,

Heri

Not applicable
Author

You could possibly try renaming the QVDs

Then try using the date function