Reference: Numeric Calculations
These calculations return a numeric value.
Security:
- Set Up: Calculations - Genericdomain in the Core Payroll functional area.
- Set Up: Time Off (Calculations - Generic)domain in the Time Off and Leave functional area.
- To configure access to calculations using segment-based security groups:Access Calculation (Segmented)domain in the Core Payroll, Implementation, Payroll Interface, and Time Off and Leave functional areas.
Calculation | Description | Examples | Tips |
|---|---|---|---|
Aggregate Calculation
| Returns the sum, average, minimum, or maximum of 2 or more values.
Can also return the sum, average, minimum, or maximum value based on instances of a report field. |
|
You can use previously defined calculations that return a number, such as constant value calculations or instance value calculations (numeric), as operands.
If you don't specify rounding:
|
Arithmetic Calculation
| Adds, subtracts, divides, or multiplies 2 (and only 2) values. |
|
You can use previously defined calculations that return a number, such as constant value calculations or instance value calculations (numeric), as operands.
If you don't specify rounding:
|
Conditional Calculation
| Returns a value based on 1 or more IF statements. |
|
You must use an instance set comparison calculation, instance value calculation, logic calculation, or value comparison calculation as the condition.
When you configure multiple conditions, Workday:
|
Constant Value Calculation
| Returns a defined constant value. |
| Constant value calculations are very common and likely to already exist when you need them. Before creating a new constant value calculation, use the All Constant Value Calculations report to see whether a value already exists for your category. If a constant value calculation with the desired value exists, but in a different category, consider creating another calculation with the same value in your category. |
Date Difference Calculation
| Returns the number of days, months, or years (the interval) between 2 dates. |
| Date difference calculations with an interval of Day don't include the ending date. Example: January 1 to January 15 returns 14 days, not 15.
To include the ending date, create an additional arithmetic calculation to add 1 to the result of the date difference calculation. You can use instance value calculations, conditional calculations, build date calculations, or constant date calculations in date difference calculations. |
Date Extract Calculation
| Parses the year, month, or day from a date and returns a number. |
| |
Instance Value Calculation (Number)
| A calculation that returns a value. In addition to numeric values, it also returns currency, boolean, and date attributes.
|
|
You can use the All Instance Value Calculations report to access a list of available IVCs and view details about each calculation, such as:
|
Lookup Calculation
| Looks up 1 value based on another value. |
| Create lookup calculations after lookup tables so that the calculation can reference the columns in the lookup table. |
Step-Based Calculation
| Returns a single numeric value that's the outcome of a series of calculations. Workday begins with the first calculation, which yields a number, then uses that number in the next step, and so on, to arrive at a final single value. Conditions and condition groups control whether Workday executes a step. |
| You can copy a step-based calculation, but not a step-based calculation condition. |