For more information, please refer to this announcement explaining best practices for getting answers to questions.
Days Between First Candidate through a status and when they move to a different Status
Summary
Hello, I'm trying to get days between (timediff) when the first candidate 'Recruiter Interviews' and then when that same candidate is 'Presented' to a Hiring Manager.Content
when I use the 'Min' function I get the days between when the first candidate was moved through 'Recruiter Interview Completed' and when the first candidate was moved through 'Presented'. The problem is the first candidate moved through 'Presented' is not always the SAME candidate that Recruiter Interviewed first. Here is my current formula:
timestampdiff(sql_tsi_day, min(case when "Submission CSW Status - Historical"."Historical Status Name" = 'Recruiter Interview Completed' then ifnull("Submission CSW Status - Historical"."Historical Status Event Date","Submission CSW Status - Historical"."Submission Historical Status End Date") end by "Requisition Identification"."Req. Identifier" ) , min(case when "Submission CSW Status - Historical"."Historical Status Name" = 'Presented' then ifnull("Submission CSW Status - Historical"."Historical Status Event Date","Submission CSW Status - Historical"."Submission Historical Status End Date") end))