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

Use Direct discovery to find max date

Hi,

I have a large qvd file and I'd like to use incremental load to refresh it.

I need the max date of this qvd file without loading it in the script.

Would it be possible to use direct discovery to find the max date of the qvd or does it work only with like a sql query?

thxs

1 Solution
7 Replies
agomes1971
Specialist II
Specialist II

Hi,

yes on your own words...

or does it work only with like a sql query?


Regards


André Gomes

Anonymous
Not applicable

Hi,

Why cant you try getting the max date into a variable and save it as separate QVD which will have only Max Date,   before storing the huge QVD or before dropping the Table after storing it into QVD

Regards

Harsha

Anonymous
Not applicable

Hi ,

You dont need to load whole QVD you can just load max (updatedate) from qvd. and use that date into your load

LOAD max(Period) as MaxModified FROM Test.qvd (qvd);

thierrytt1102
Partner - Creator II
Partner - Creator II
Author

Thx this solution was my alternative 😉

thierrytt1102
Partner - Creator II
Partner - Creator II
Author

This was my actual solution but QV still has to load all the values of that field.

thx

Anonymous
Not applicable

Good That might be better as you said QVD is huge