Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
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;