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

A comparison is being carried out between non-compatible types DATE and INTEGER. (HY000)

Summary:

I have an OTBI report using the Payroll Balances Real Time subject area. The below formula does not return any errors however when running the report I'm getting this error "A comparison is being carried out between non-compatible types DATE and INTEGER. (HY000)" when using this formula. Could someone please help with the correct syntax? Thank you.

CASE WHEN "Department_GL Cost Center Information"."Department_ORG_INFORMATION_EFF_PER_GL_COST_CENTER_INFO__COST_CENTER" IN ('9528375', '9528376') and ("Payroll Period"."Default Pay Date") <= 10/12/2023 THEN 'Healthworks <= 10/12/2023'    

 WHEN "Department_GL Cost Center Information"."Department_ORG_INFORMATION_EFF_PER_GL_COST_CENTER_INFO__COST_CENTER" IN ('9528375', '9528376') and ("Payroll Period"."Default Pay Date") > 10/12/2023 THEN 'Healthworks > 10/12/2023'    END

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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