Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Limit the number of records from QVD?

Hi,

I have 7 QVDs which I am using for my reports. I am just wondering if it is possible to limit the number of records from some of my QVDs and full number of records for others.

If it is possible what could be the load statement to limit (e.g. TOP 10000 only ) records?

I am not sure if we can do it in Partial load.

Please advise.

Thanks,

TA

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi,

    

FIRST 10 LOAD * RESIDENT Customers; 

Using the First keyword you can limit the qvd or resident table records.

Regards

Ashok.

View solution in original post

3 Replies
Anonymous
Not applicable
Author

Hi,

    

FIRST 10 LOAD * RESIDENT Customers; 

Using the First keyword you can limit the qvd or resident table records.

Regards

Ashok.

jagan
Luminary Alumni
Luminary Alumni

Hi,

If you want to load N number of records then you can use

Edit Script -> Debug -> Select "Limit Load" and give number of records to load in below textbox -> Click Run button

Hope this helps you.

Regards,

jagan.

Anonymous
Not applicable
Author

Hi,

Here is the script to load statement to limit (e.g. TOP 10000 only ) records:

LOAD

....

FROM

....

WHERE

     RowNo()<=10000; // Here you replace the 10000 by the number of line you need

It works only if you want to limit to the first x lines.