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

Handling Invalid Dates in a CASE statement in OTBI

Accepted answer
11
Views
2
Comments

Summary:

How do you replace 00--0 with an actual date in OTBI? Getting error with CASE statement below

Content (required):

My CASE statement is coming back with an error when trying to replace invalid date 00--0 in my Effective Start Date column.

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


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

CASE WHEN "Workforce Management - Worker Assignment Real Time"."Worker Assignment Details"."Effective Start Date" = '00--0' THEN "Worker"."Employee Hire Date" ELSE "Workforce Management - Worker Assignment Real Time"."Worker Assignment Details"."Effective Start Date", "Worker"."Employee Hire Date" END

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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