Hide Date
I have a date field calculation that is referencing a date in a referenced app.
moment(@Min of Tickets on Sale Date).tz('America/New_York').toDate()
It works great when there is a referenced entry with the date field filled in. However, there are many entries where there is either not an entry referenced or not a date in the referenced field. Since it's a date-based calculation field, I can't figure out how to get it to display nothing in these cases. I've tried doing something like
@All of Tickets on Sale Date != "" ?
moment(@Min of Tickets on Sale Date).tz('America/New_York').toDate()
: ""
but it gives me an "Invalid value null (null): must be to_datetime or null or to_date or null" error.
Can someone help?
Please sign in to leave a comment.
Comments
2 comments