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: 
qlikuser123
Contributor
Contributor

Setting a date range with a button click

Hello,

I am attempting to create a 90 day report button that will set a range of dates for a date variable. So far I have tried using the action "Select values in a field" with the following expression:

='>=' & Date(Today(),'DD-MM-YYYY') & '<=' & Date(Today()+90,'DD-MM-YYYY')

qlikuser123_0-1628515725401.png

I have also tried using a similar expression with the "Set variable value" action.

qlikuser123_1-1628515744039.png

I have not been able to get the button to function, however. I have verified that the Expiration_Date variable matches the date format in the expression.

I have also noticed that most of the dates are grayed out in the date picker.

qlikuser123_2-1628516048923.png

If anyone can provide guidance on how to set up a 90 day report button and how to access all of the dates in the date picker, it would be much appreciated.

 

Thank you.

1 Reply
F_B
Specialist II
Specialist II

Hi @qlikuser123 ,

use the "Select values matching search criteria".