Hi,
I'm trying to format the LastModifiedDate to yyyy-MM-dd and getting the following error when doing so. Here is the error message I'm getting:
invalid arguments for function date_to_string(LastModifiedDate, "yyyy-MM-dd")
What am I doing wrong? Looks correct to me but obviously SAQL is having an issue with it.
4 answers
Hi ,
date_to_string(toDate(LastModifiedDate,"yyyy-MM-ddTHH:mm:ss.000Z"), "yyyy-MM-dd")
https://www.simplysfdc.com/2020/05/einstein-analytics-computeexpression.html