Subtract(Parameters: Array)
Parameters. Variables, the difference of which should be found.
It returns the difference of corresponding points for two or more variables.
Variables in Parameters must be specified via comma.
It is available to set up calculation period for function. To do it, use the SetPeriod function by specifying it at any place of input array.
To calculate function without taking into account empty values, use the IgnoreMissing parameter by specifying it at any place of input array. Available parameter values:
True. Default value. Calculation does not take into account empty values.
False. Calculation takes into account empty values.
Formula | Result | Application |
= Subtract({Brazil|BCA}, {China|BCA},{Sudan|BCA}) | Difference between corresponding observations of the Brazil|BCA, China|BCA and Sudan|BCA series. |
It can be used in formulas of calculated series of time series database and in formulas of attribute-based models of modeling container. |
= Subtract(X1,X2,True) | Difference of corresponding X1 and X2 factor points without taking into account empty values. |
It can be used in model variable-based formulas of modeling container. |
= Subtract(4,2,5,-3) | 0 |
it can be used in any expressions. |
See also:
Functions Available in Expression Editor │ Arithmetic Functions │ IModelling.Subtract