Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
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

2 Replies
swuehl
MVP
MVP

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

tresesco
MVP
MVP

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.