Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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 with Redwood for Oracle Cloud HCM   Begin Now
To ensure that questions get required attention from community members and are NOT left unanswered, it’s important for the author to indicate (by selecting “Yes” or “No” when prompted) whether the question was answered. (newly added) Please note that it is also important to respond to EACH comment your question receives. Your Yes or No response ensures an accurate status for your question.

For more information, please refer to this announcement explaining best practices for getting answers to questions.

OTBI > Workforce Profiles – Person Profile Real Time > Cannot count the Persons in different years b

edited May 14, 2020 1:37PM in Reporting and Analytics for HCM 2 comments

Content

Hello,

We have created the following analysis (PFA S1)

The field “Years of Experience Band” first computes the total years of experience by calculating the sum of the difference between the fields Start Date and End Date of each record in the Person Profile section “Previous Employment”. Then based on the result, it categorizes based on bands (e.g. between 1 and 5, between 5 and 10, etc)

CASE WHEN (sum((TIMESTAMPDIFF(SQL_TSI_MONTH, "Previous Employment"."Start Date", "Previous Employment"."End Date"))*1.00/12) >=1 AND sum((TIMESTAMPDIFF(SQL_TSI_MONTH, "Previous Employment"."Start Date", "Previous Employment"."End Date"))*1.00/12) < 5) THEN 'From 1 to 5'

                WHEN (sum((TIMESTAMPDIFF(SQL_TSI_MONTH, "Previous Employment"."Start Date", "Previous Employment"."End Date"))*1.00/12) >=5 AND sum((TIMESTAMPDIFF(SQL_TSI_MONTH, "Previous Employment"."Start Date", "Previous Employment"."End Date"))*1.00/12) < 10) THEN 'From 5 to 10'

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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