Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Mahdi_16
Contributor
Contributor

Add variables to the button

Hello,

I would like to find dates greater or less than one dimension. 
I have to do it in from a button to select a certain type of date in a my graph. 

My goal is to select dates less/superio  or equal than 60 days old, in the action i select this : "Select values ​​that match the search criteria" and I write this in the values: '$(=>Date(Today()-30))'

I even use it with date#, and I adapt the format date. Also, I can't have access or create variables.

Someone have solution for this question ? Pls.

Mahdi_16_0-1677511501797.png

Thanks,

Labels (5)
1 Solution

Accepted Solutions
Or
MVP
MVP

I'm not sure where variables come into play here, but if you want to select e.g. the last 30 days, try:

='>='&Date(Today()-30)

 

View solution in original post

2 Replies
Or
MVP
MVP

I'm not sure where variables come into play here, but if you want to select e.g. the last 30 days, try:

='>='&Date(Today()-30)

 

Frank_S
Support
Support

Try this

  • Create a filter pane using your 'date' field
  • In the search field for your 'date' filter pane object paste 
    • {<Date={"= Date = today()-30"}>}
  • Then save the selection as a bookmark.
  • And finally set your bookmark as the default bookmark.

    Kind regards...
Please remember hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!