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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
CBoardy
Contributor III
Contributor III

Button that filters all past dates

Hi All,

I want to create a button that toggles a filter for all past dates.

The field is called "date2".

I have tried:

Toggle selections, select values in feild, =IF(Date2<Date(Today()),Date2,'') , Date2<Date(Today())

and a few others but no success.

Please help me many thanks

Labels (3)
2 Replies
Chirantha
Former Employee
Former Employee

Please try to create a button that filters all past dates by using the “Select values in field” action and entering the following expression in the “Search String” field:

=if(Date2 < Today(), Date2)
 

CBoardy
Contributor III
Contributor III
Author

Thanks, for the suggestion but doesn't work

The format of Date2 is DD/MM/YYYY 

Just to add