Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
anuradhaa
Partner - Creator II
Partner - Creator II

filer data based on date filter

Hi,

See attached.

Here i want to import data which has "Accepted at" in 2011.

1 Solution

Accepted Solutions
sunny_talwar

Just responded to your previous post also. May be this:

SET DateFormat='D-MMM-YY';

Table:

LOAD Id,

    [Created at],

    [Accepted at]

FROM

testcsv.xlsx

(ooxml, embedded labels, table is Sheet1)

Where [Accepted at] > MakeDate(2011, 1, 1);

Capture.PNG

View solution in original post

2 Replies
sunny_talwar

Just responded to your previous post also. May be this:

SET DateFormat='D-MMM-YY';

Table:

LOAD Id,

    [Created at],

    [Accepted at]

FROM

testcsv.xlsx

(ooxml, embedded labels, table is Sheet1)

Where [Accepted at] > MakeDate(2011, 1, 1);

Capture.PNG

Not applicable

Also this might work,

it's similar to the above example but you dont have to change the date format (if for some reason thats necesary)

LOAD Id,

     [Created at],

     [Accepted at]

FROM

testcsv.csv

(txt, codepage is 1255, embedded labels, delimiter is ',', msq)

Where Year(date#([Created at], 'DD-MMM-YY')) = 2011;