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

Calculate days posted for a specific career site and not get duplicate rows

Accepted answer
25
Views
6
Comments
edited Feb 20, 2019 4:13PM in Reporting and Analytics Taleo Enterprise 6 comments

Summary

Recommendation on SQL variable

Content

Hello,

I am calculation posting days for requisitions for the internal and external career site. My variables are generating two rows of data (one row with the calculation and one blank row).

Can someone take a look at these variables? I need two columns of data (# days posted internally, # days posted externally).

Thank you in advance for your help.

Alice Kim

 

# days posted internally

CASE WHEN "Requisition Posting"."Posting Source" = 'Internal CS' THEN TIMESTAMPDIFF(SQL_TSI_DAY,"Requisition Posting"."Posting Date",  "Requisition Posting"."Unposting Date") END

# days posted externally

CASE WHEN "Requisition Posting"."Posting Source" = 'External CS' THEN TIMESTAMPDIFF(SQL_TSI_DAY,"Requisition Posting"."Posting Date",  "Requisition Posting"."Unposting Date") END

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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