This lesson introduces you to the second processing function within the Universal Model called Calculation.

The Calculation Function
The Calculation Function is a central place for conducting the calculation in the Universal Model.
You use this processing function to enhance the data in a data set with calculated attributes based on predefined rules at runtime. This function includes a parser to detect dependencies between fields used in formulas and to ensure that rules are executed in the correct order internally. Circular dependencies are not allowed. The processed data can then be used for consumption in downstream processes such as allocation.
Each calculation rule semantically defines an if-then statement. The "if" part specifies for which records of the input data the rule is relevant. The "then" part is an action and contains a list of fields and formulas that must be calculated.
A static calculation rule is mandatory to successfully configure a Calculation function. As these rules are configured in the environment, they are transportable to the next tenant together with the environment and can be used during the run of a calculation activity. Changing these static rules would cause a modeling change and reactivation is mandatory for the rule to be available during runtime.
To successfully configure a static calculation rule, ensure the following:
- The environment where the model entity is to be created is available. For more information on how to create an environment, see Environment.
- At least one other function is available in your environment.
- A Calculation function has been created in the Manage Functions application.




