Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Highlighted
jiasheng
Contributor

Date filter

Hi,

I have data with date formatted dd/mm/yyyy

I would like to create a filter pane for date before a certain date month and year, like records before 12/11/1993

IF ( DATE < 12/11/1993,1,0)

Is that how it works?

Tags (1)
1 Solution

Accepted Solutions
MVP
MVP

Re: Date filter

=If(Date < Date#('12/11/1993','DD/MM/YYYY'),1,0)

or

=If(Date < Date#('12/11/1993','DD/MM/YYYY'),Date)

View solution in original post

2 Replies
MVP
MVP

Re: Date filter

=If(Date < Date#('12/11/1993','DD/MM/YYYY'),1,0)

or

=If(Date < Date#('12/11/1993','DD/MM/YYYY'),Date)

View solution in original post

Partner
Partner

Re: Date filter

Hi,

You can also try this below expression.

Expression:

if(StartDate<'2016-02-27',1,0)