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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to limit the number of record to be reloaded for script testing

Hello,

I need to load a fact table with more than 33 million records, but I only want to reload the first 10,000 recodes for testing the script. Any way can do this?

Thanks,

1 Solution

Accepted Solutions
rbecher
MVP
MVP

FIRST 10000 LOAD....

or

FIRST (10000) SELECT...

- Ralf

Data & AI Engineer at Orionbelt.ai - a GenAI Semantic Layer Venture, Inventor of Astrato Engine

View solution in original post

4 Replies
rbecher
MVP
MVP

FIRST 10000 LOAD....

or

FIRST (10000) SELECT...

- Ralf

Data & AI Engineer at Orionbelt.ai - a GenAI Semantic Layer Venture, Inventor of Astrato Engine
hopkinsc
Partner - Specialist III
Partner - Specialist III

You could use a WHERE statement in the load script.

" Where (FieldName >0 and FieldName <10000);



Not applicable
Author

In the script window, click on Debug. Here you can do a number of things, one of which is a Limited Load. Check the Limited Load box and set the number of records you want to bring in. This will bring in that number of records for each data source.

Not applicable
Author

Thanks Ralf,

It works.