Description
Returns the prorata of days over time Dimensions. It can be used to calculate, for example, the Full Time Equivalent (FTE) of Employees by knowing their start and end date.
Syntax
PRORATA(Time Dimension n, Start Date] ], End Date] ], Working Days] ], Holidays])
Time Dimension
based on the calendar settings, options are:Day
,Week
,Month
,Quarter
,Year
Start Date
is includedEnd Date
is excluded
Working Days
defines which days of the week are working and non working days. User must use a Metric of the DimensionDay of Week
⇒boolean
.Holidays
defines which dates are holidays. User must use a Metric of the DimensionDay
⇒boolean
Return type
Number
Examples
Case | Results | Return Type |
| returns |
|
| returns |
|
| returns the prorata of days over June 2020 (16/30) and July 2020 (13/31). |
|
| returns the monthly FTE (full time equivalent) by employee taking into account their start (included) and end date (included). |
|
PRORATA(month, STARTOFMONTH('employee'.'start date'), STARTOFMONTH('employee'.'end date'+ 1)) | returns the monthly Headcount by employee (1 if the employee is present on the last day of each month) | Number |
Excel equivalent: None
See also: DAYSINPERIOD, STARTOFMONTH