Building Formula Fields

Building Formula Fields

Building Formula Fields

The CRM formula fields enable you to define fields that can populate dynamically calculated data based on the values returned from other standard or custom fields. For instance, an insurance company may need to determine, if the provided date of birth (by policy holders), confirms their eligibility to own a policy based on their present age.

Availability
Profile Permission Required: 
Users with the Field-level Access permission in profile can access this feature.

A formula field is made up of three elements: FunctionsArguments and Operators.

Function expresses the dependence between two quantities, one of which is input and the other which is output. In other words, function performs a specific operation on values that you specify and generates a new value. To compose a function, you need to type the function name, followed by a set of parentheses, which contains information to perform the function. The values within the parenthesis are called arguments.

Examples: Abs(); Ceil(); Timepart()

An Argument is a piece of information within a function that commands the values to act or produce. Arguments appear within the parentheses and are separated by comma (argument 1, argument 2, etc.). The types of argument(s) in a function can be either texts, numbers, field references or even another function.

Examples: Abs(-27.05); Max(12,6,10)

An Operator is a special symbol such as "+" or "%", that acts upon the arguments (literals, numbers, fields references) in the formula and returns a new value.

Examples: Abs(+27.50); (32*25)

Note
  1. Formula fields can be mass updated only if one of the participating field's data is updated.


    • Related Articles

    • Creating Formula Fields

      Creating Formula Fields Create Numeric Formula Field Create String Formula Field Create DateTime Formula Field Create Boolean Formula Field Formula Syntax Reference Formula fields are used to calculate different types of values, including numeric ...
    • Functions in Formula Fields

      Functions in Formula Fields Function performs a specific operation on values that you specify and generates a new value. To compose a function, you need to type the function name, followed by a set of parentheses(). The CRM formula type custom field ...
    • Data types in Formula Fields

      Data types in Formula Fields Data type is the kind of data that can be held and stored while evaluating an expression. Data types are the defined set of values and the allowable operations on those values. They represent either the function, ...
    • Examples of Formula Field

      Examples of Formula Field Formula Fields can be complicated sometimes. So, here are examples that will help you understand the usage of these types of fields in the CRM. IF ELSE Statement Example: If field name contains 'Golf Only 1 Meal', then ...
    • Marking Personal Fields

      Marking Personal Fields Manage Personal Fields View Personal Fields under Data Privacy Section Personal Data Handling GDPR defines personal data as any information relating to an identified or identifiable natural person (i.e. the data subject). ...