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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Entering Date ranges to filter QVW

Hi All

Is there away that the front end user can input a date range to filter the QVW? for example they may want to look at the information from between the dates of 01/01/11 to 20/09/11. Is there an easy way to do this?

Many Thanks

Emma 

1 Solution

Accepted Solutions
Miguel_Angel_Baeyens

Hi Emma,

You can create two variables in the Settings menu, Variable Overview, vDateFrom and vDateTo. Then, create two slider / calendar objects, assining one variable to each of the objects, and set them to calendar, so when the user selects a date, it will be stored into those variables. To make it more clear, set in each calendar object a minimum and maximum value (the min and max dates in your document).

Then create a button, go to the button properties, Actions tab, Add, Selection, Select In Field, set your Date field, and in the Search string something like

='>=' & Date(vDateFrom) & '<=' & Date(vDateTo)

Hope that helps.

Miguel

View solution in original post

2 Replies
Miguel_Angel_Baeyens

Hi Emma,

You can create two variables in the Settings menu, Variable Overview, vDateFrom and vDateTo. Then, create two slider / calendar objects, assining one variable to each of the objects, and set them to calendar, so when the user selects a date, it will be stored into those variables. To make it more clear, set in each calendar object a minimum and maximum value (the min and max dates in your document).

Then create a button, go to the button properties, Actions tab, Add, Selection, Select In Field, set your Date field, and in the Search string something like

='>=' & Date(vDateFrom) & '<=' & Date(vDateTo)

Hope that helps.

Miguel

ali_hijazi
Partner - Master II
Partner - Master II

Check attached file

it contains the full solution of what you are asking for

I can walk on water when it freezes