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

Date Expression

Expression:

=if(Resolved > [Due Date],date([Due Date]),0)

can any one check whats the Problem in this Expression.
using this Expression i am getting the same dates also of the two fields. but i want only bigger dates.

INFO: I have converted the time-stamp [Due Date] into Date

date.JPG

Labels (1)
2 Replies
swuehl
Champion III
Champion III

i assume you haven't transformed the timestamp to a date, you just formatted it using date() function.

In your script, use

Date(Floor(TIMESTAMPFIELD)) as DATEFIELD

tresB
Champion III
Champion III

While creating date field in the script, try using floor() like:

Date(floor(Resolved)) as Resolved

Then you would get single date in the list box for each date unlike you are having now.