Max
Description
The Max function calculates the value of a business figure as the maximum of other values. These values can themselves be values of other business figures.
Using this Function
Syntax
In the Control File, the Max function is called up as follows:
[account] = max(value1, ..., valueN, [referenceAccount_A], ..., [referenceAccount_M])
Parameters
[account]
Business figure for which the value should be calculated.
This must be contained in the following input data: Input Files | Financial-Data
value1
Denotes the first value to be included in the calculation of the maximum.
valueN
Denotes the N-th value to be included in the calculation of the maximum.
[referenceAccount_A]
Denotes the first business figure of which the value is to be included in the calculation of the maximum.
[referenceAccount_M]
Denotes the M-th business figure of which the value is to be included in the calculation of the maximum.
Examples
The examples below are based on the following data:
value of the business figure [101]: 2,000.00
value of the business figure [102]: 1,500.00
value of the business figure [103]: 3,000.00
Example 1
[100] = max(500, [101], [102], [103])
new value of the business figure [100]: 3,000.00
Example 2
[100] = max(5000, [101], [102], [103])
new value of the business figure [100]: 5,000.00