OTBI > Workforce Profiles – Person Profile Real Time > Cannot count the Persons in different years b — Cloud Customer Connect
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

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!