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

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

Filtering Data by Fixed Values

I wish to add a slider / drop down control with the values 7,14, 21 and 28.

Upon the user selecting one of theses values the data behind the QVW will be filtered to the last 7 days, the last 14 days, the last 21 days and the last 28 days respectively.

Is this possible and if so how would you do it?

Thank you

1 Reply
rbecher
MVP
MVP

Hi,

you can use a variable with an input box with fixed values which will be displayed as dropdown.

Then, you can use the variable in an set analysis expression like

sum({$<yourDateField={">date(today(1) - $(yourVariable))"}>} Sales)


- Ralf

Astrato.io Head of R&D