try with first 5000
This is from Qlik help
The syntax is:
first n ( loadstatement | selectstatement )
n is an arbitrary expression which evaluates to an integer indicating the maximum number of records to be read.
First 10 LOAD * FROM abc.csv;
First (1) SQL SELECT * FROM Orders; (Note: The parenthesis is allowed but not required.)