You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Error in casting date in OTBI Reports Condition

Received Response
edited Feb 20, 2024 4:26PM in Reporting & Analytics for Sales 3 comments


I need to display a different formatting in date time. However, when I try to use the To_DateTime("Goals_c"."FacetoFaceMeeting1_c", 'YYYY-MM-DD') condition, it is showing an error like

And when i try to display CAST("Goals_c"."FacetoFaceMeeting2_c" as DATE) it shows the same error.

However upon trying CAST("Goals_c"."FacetoFaceMeeting2_c" as CHAR), it worked.

Content (please ensure you mask any confidential information):

Version (include the version you are using, if applicable):

Oracle 23D

Code Snippet (add any code snippets that support your topic, if applicable):

CASE WHEN "Organization0"."ExtnAttributeChar011_Meaning" = 'TIER_3' AND "Organization0"."ExtnAttributeChar019_Meaning" IN ('LCS-Multi-Site', 'LCS-National Acts') then 'NA' else CAST("Goals_c"."FacetoFaceMeeting2_c" as DATE) End

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!