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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Date Comparison in Set Analysis

Kindly would you suggest what's wrong with this expression?

[Program Date] = {"<=$(date#(vSelectedDate, 'dd/MM/yyyy'))"}

Where vSelectedDate holds value as : 31 Jan 2013

10 Replies
jagan
Partner - Champion III
Partner - Champion III

Hi,

Try like this

Sum({<[Program Date] = {"<=$(=Date(date#(vSelectedDate, 'dd MMM yyyy')))"}>} Measure)

Please check whether the formats of date in [Program Date] and Date(date#(vSelectedDate, 'dd MMM yyyy')) are same.  If both are same then the above expression works.

Hope this helps you.

Regards,

Jagan.