For more information, please refer to this announcement explaining best practices for getting answers to questions.
Calculate days posted for a specific career site and not get duplicate rows
Summary
Recommendation on SQL variableContent
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