Oracle Transactional Business Intelligence

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

Days between Step/Status

31
Views
1
Comments

Summary

OBI Days between Step/Status

Content

I am trying to create a custom calculations to show the number of days a submission remains in a particular step and status. I've tried using the TIMESTAMPDIFF but it doesn't seem to work with CASE WHEN to specify the step and status. Any ideas of what I am doing wrong? Here is an example of the formula

TIMESTAMPDIFF (SQL_TSI_DAY, (CASE WHEN("Submission CSW Status - Historical"."Historical Step Name" = 'Recruiter Review') AND ("Submission CSW Status - Historical"."Historical Status Name" = 'To Be Reviewed') THEN Max("Submission CSW Status - Historical"."Submission Historical Status End Date") END),CASE WHEN("Submission CSW Status - Historical"."Historical Step Name" = 'Recruiter Review') AND ("Submission CSW Status - Historical"."Historical Status Name" = 'Reviewed') THEN Max("Submission CSW Status - Historical"."Submission Historical Status End Date") END)

Comments

  • Kellyzuckerman
    Kellyzuckerman Rank 1 - Community Starter

    Hi Alexis,

     

    Did you ever figure out how to do this? I am having a similiar ask. My thought is to somehow capture the date based on the Submission History? Thoughts?

     

    Thanks,

    Kelly