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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Using a Slider to define the number of records to Reload

I have a question with regards to loading records.

I have an app that loads a large volume of records, I want it to load a random sample between 1 and X and I want to allow the user to select the X value by using the slider. So that when the user selects Reload the data, the app will take into account the value selected on  the slider (variable) for the reload count.

Could someone point me in the right direction with this please?

Thanks in advance

Robin

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Use the slider to set a variable (i.e. vRecords) to the number of records you want to load. Then change the load to use the variable:

FIRST $(vRecords)

LOAD ...etc....

Note, this will only work if users are using Qlikview Desktop and open the document directly. Documents opened on the server can't be reloaded by the user.


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Use the slider to set a variable (i.e. vRecords) to the number of records you want to load. Then change the load to use the variable:

FIRST $(vRecords)

LOAD ...etc....

Note, this will only work if users are using Qlikview Desktop and open the document directly. Documents opened on the server can't be reloaded by the user.


talk is cheap, supply exceeds demand
Not applicable
Author

My bad ,, apologies, it works perfectly, I had not set the initial variable value.

Thanks for the assist,

Robin