Reference: Calculated Field Functions
Use calculated fields in your tenant on transactions throughout Workday to:
Perform Calculations on Your Data
Calculated fields that perform mathematic expressions use the standard order of operations rule, known as PEMDAS:
- Parentheses
- Exponents
- Multiplication
- Division
- Addition
- Subtraction
Calculated Fields | Description | Examples |
|---|---|---|
Arithmetic Calculation | Performs these simple calculations to derive values:
| Calculate a worker's:
|
Count Related Instances | Dynamically counts the number of instances in a related business object based on a condition. | Count:
|
Date Difference | Computes the number of days, months, or years between 2 dates. | Calculate:
|
Increment or Decrement Date |
|
|
Sum Related Instances | Sums the value of a field in instances of a related business object based on a condition. | Calculate the:
Sum the:
|
Text Length | Returns the number of characters and spaces in a single instance or text field. | Return the text length of a worker's:
|
Retrieve Your Data
Calculated Fields | Description | Examples |
|---|---|---|
Aggregate Related Instances | Lists all instances associated with a source field related to the business object. | Identify all job profiles within an organization. A single organization might include many positions, each with many job profiles. The calculated field can examine all the positions within an organization and return all instances of the job profile.
|
Evaluate Expression | Groups and transforms data by evaluating a series of boolean conditions. | Display a worker's:
Enable users to select the granularity of grouping, such as Month , Quarter , or Year on the Trended Workers data source. |
Evaluate Expression Band | Specifies values for boolean conditions and returns grouped instances. | Group workers by seniority based on their years of service, such as:
Group cost centers based on your spending threshold, such as:
|
Extract Multi-Instance | Extracts multiple instances from a related business object based on boolean conditions. | List:
|
Extract Single Instance | Extracts a single instance from a multi-instance field based on boolean conditions. | Retrieve information about a worker, such as their:
|
Lookup Date Rollup | Aggregates, groups, or summarizes data for a time period, fiscal schedule, or weekly schedule. | Return:
|
Lookup Field with Prompts | Enables users to enter values for Workday-delivered fields with built-in prompts. | Enter:
|
Lookup Hierarchy | Retrieves data from Workday objects with a hierarchical structure and returns a single instance field containing the hierarchy node. |
|
Lookup Hierarchy Rollup | Rolls up report data based on an organization hierarchy, starting at the topmost level of the hierarchy. | View summarizations of:
|
Lookup Organization | Determines a worker's organization level or node based on the assigned organization and criteria configuration using 1 of these business objects:
| Determine a worker's:
|
Lookup Organizational Roles | Determines organization role assignments based on the criteria configuration using 1 of these business objects:
| Determine organization role assignments and:
|
Lookup Range Band | Determines where a specified value falls in relation to a set of configured ranges. | Determine if a worker's:
|
Lookup Related Value | Returns the value of a field on a related business object. You can promote fields from a related business object to the primary business object so you can perform these actions on the fields:
| Return the value of a field to:
|
Lookup Translated Value | Returns the value of a text field in a specified language. | Return:
|
Lookup Value as of Date | Determines the value of a field as of a specific date and determines whether a change occurs before, on, or after the effective date. | Return:
|
Substring Text | Extracts a portion of text from a single instance or text field and returns the result as a text field. | Extract a portion of text from ABC-XYZ :
|
True/False Condition | Returns True or False based on boolean conditions. | Indicate if a worker:
|
Change Your Data into Different Formats
Calculated Fields | Description | Examples |
|---|---|---|
Concatenate Text | Concatenates a series of text fields within Workday to append text, use in notifications, and so on. |
|
Convert Currency | Converts a currency to another currency. |
|
Convert Text to Number | Converts a text field number into numeric data so you can perform calculations on that number. | Convert text to a numeric value to perform calculations on:
|
Format Date | Extracts part of a date field and formats it as a text field. |
|
Format Number | Formats a numeric field as a text field to use in concatenations, report notifications, and so on. |
|
Format Text | Removes or replaces special characters and delimiters in a single instance or text field.
Changes the case of a single instance or text field to upper, lower, or proper case. | Change the case of a single instance or text field to upper, lower, or proper case to:
Replace the special character in the field % Requisition Status to Job so the formated field is Job Requisition Status . |
Configure Constant Values
Calculated Fields | Description | Examples |
|---|---|---|
Build Date | Enables you to create a new date or time field by using components from other fields or from specified values. | Determine the:
|
Date Constant | Enables you to create a date, time, or time zone constant for use in other calculations. |
|
Numeric Constant | Enables you to assign a numeric constant to a field so you can use it in other calculations. |
|
Prompt for Value | Enables you to create a field to prompt users for a value when the report runs or for filter conditions. | Prompt the report runner to select:
|
Text Constant | Enables you to create a text constant for use in other calculations. |
|