How to create a range picker for a variable in Qlik?

I'm new to Qliksense and I would like to select and visualise all datapoints in my table based on the value of a variable called NoOfPersons, similar to the date-range picker. How can I do this? I have attached a sample image below: enter image description here


Solution 1:

Under the Custom Objects the Qlik Dashboard bundle select the variable input object

enter image description here

Then under the variable options select the slider option

enter image description here

I don't know how to make it look like your example but it will provide the functionality you want