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
Get Started: AI Resources for Oracle Cloud HCM – Go Here

Progress with Redwood: Redwood Resources for Oracle Cloud HCM -  Go Here

Calculations based on multiple historical statuses for the same application

edited Dec 13, 2022 7:06AM in Taleo Enterprise 11 comments

Summary

Is there a better way to write this?

Content

The below formula works individually but when combined with the rest of the Analysis it just spins.  Ideally I would like to use a FILTER formula but was unable to craft an expression that worked.  As this is one of multiple calculations more creative filtering wasn't pursued as to not impact the other calculations.

The goal is to yield a percentage of applicants that have historical statuses of both 'Internal Meets Minimum Qualifications' AND 'HR Interview' divided by the total number of applicants with 'HR Interview'.

IFNULL(CAST((COUNT(DISTINCT CASE WHEN MIN(CASE WHEN "Submission CSW Status - Historical"."Historical Status Name" = 'HR Interview' THEN "Submission CSW Status - Historical"."Historical Status Name" END BY "Submission General Info"."Submission Identifier") = 'HR Interview' AND MIN(CASE WHEN "Submission CSW Status - Historical"."Historical Status Name" = 'Internal Meets Minimum Qualifications' THEN "Submission CSW Status - Historical"."Historical Status Name" END BY "Submission General Info"."Submission Identifier") = 'Internal Meets Minimum Qualifications' THEN "Submission General Info"."Submission Identifier" END BY "Requisition Identification"."Req. Identifier")/COUNT(DISTINCT CASE WHEN "Submission CSW Status - Historical"."Historical Status Name" = 'HR Interview' THEN "Submission General Info"."Submission Identifier" END))*100 AS DOUBLE),0)

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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