Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
mahitham
Creator II
Creator II

How to load Max(Date) and Max(Date)-1 qvds

Hi Experts,

Can any one please help me on below requirement.

In C:/Qliksharefolder/4.QVDs path I have number of qvds with date like below.

All these qvds contains same columns with different data.

kensitivities_Detail_20180520.qvd

Kensitivities_Detail_20180521.qvd

Kensitivities_Detail_20180616.qvd

Kensitivities_Detail_20180617.qvd


From these qvds I have to load only Max(date) and Max(date)-1 qvds dynamically in the load script instead of Kensitivities_Detail_*.qvd



Please help me on this.


Thanks in advance.

3 Replies
Frank_Hartmann
Master II
Master II

mahitham
Creator II
Creator II
Author

Hi Frank,

The above link example contains only to load max(date) file I am looking for how to load both max(date) and max(date)-1 qvds.

Thanks,

PrashantSangle

what do you want max(date)-1 or 2nd maximum value

use max(date,2) in suggested solution.

Regards,

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂