Dealing with Missing Dates
JEdward
New Altair Community Member
Hi,
I'm trying to replace missing (NULL) values in a date field with today's date.
I first tried a GenerateAttributes operator using IF(MIssing(fieldname),date_now(),fieldname), but this threw a syntax error.
Anyone have any suggestions?
Thanks
I'm trying to replace missing (NULL) values in a date field with today's date.
I first tried a GenerateAttributes operator using IF(MIssing(fieldname),date_now(),fieldname), but this threw a syntax error.
Anyone have any suggestions?
Thanks
Tagged:
0
Answers
-
Hi,
try this:
Regards,
if(missing(Date), date_now(), Date)
Marco0