Hello. I'm getting an error in my reports sql condition.
Here's the query i tried
- CASE WHEN "Organization0"."ExtnAttributeChar011_Meaning" = 'Tier 3' AND "Organization0"."ExtnAttributeChar019_Meaning" IN ('LCS-Multi-Site', 'LCS-National Acts') then 'NA' else CAST(To_DATETIME("Goals_c"."FacetoFaceMeeting1_c", 'mm/dd/yyyy') AS CHAR) End
- CASE WHEN "Organization0"."ExtnAttributeChar011_Meaning" = 'Tier 3' AND "Organization0"."ExtnAttributeChar019_Meaning" IN ('LCS-Multi-Site', 'LCS-National Acts') then 'NA' else CAST(To_DATETIME("Goals_c"."FacetoFaceMeeting1_c", 'MM-DD-YYYY') AS CHAR) End
- CASE WHEN "Organization0"."ExtnAttributeChar011_Meaning" = 'Tier 3' AND "Organization0"."ExtnAttributeChar019_Meaning" IN ('LCS-Multi-Site', 'LCS-National Acts') then 'NA' else CAST(To_DATETIME("Goals_c"."FacetoFaceMeeting1_c", 'mm-dd-yyyy') AS CHAR) End
- CASE WHEN "Organization0"."ExtnAttributeChar011_Meaning" = 'Tier 3' AND "Organization0"."ExtnAttributeChar019_Meaning" IN ('LCS-Multi-Site', 'LCS-National Acts') then 'NA' else CAST(To_DATE("Goals_c"."FacetoFaceMeeting1_c", 'mm/dd/yyyy') AS CHAR) End --not accepted since funtion to_date is not accepted.
and sill getting the error message below
