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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Expression to Select Certain Date Range

Hi,

I have a large amount of data, of which I draw a variety of charts from. The data has a date range of several years; and for some of the charts I would like to just report on certain years/months. Is there an expression I can add to my charts that would filter on year/month? If Start Date = xx/xx/15 effectively.

Part of my data table looks something like this:

NameStart DateEnd Date
JOB1235/06/20135/06/2013
JOB12311/06/201511/06/2015

Kind regards,

Tristan

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

See if this helps:

Capture.PNG

Best,

Sunny

View solution in original post

4 Replies
sunny_talwar
MVP
MVP

If I understand you well, you might be able to use a set analysis like this:

{<[Start Date] = {"$(='>=' & Date(YearStart(Today()), 'M/DD/YYYY'))"}>}

sunny_talwar
MVP
MVP

See if this helps:

Capture.PNG

Best,

Sunny

Not applicable
Author

Thanks very much Sunny; that's done it!

Best,
Tristan

sunny_talwar
MVP
MVP

No problem Tristan

I am glad I was able to help.

Best,

Sunny