ADDITION (+)

'Node1' + 'Node2'

In Arithmetic operators

The ADDITION operator adds two inputs after aligning them to their common dimensions. In other words, addition uses the intersection of the shared dimensions.

The result keeps the coarser level in each shared dimension. Dimensions that exist on only one side are aggregated away.

Use this operator to combine values from two or more nodes: 'Revenue BU1' + 'Revenue BU2'.

Parameters

Node1Node referenceRequired
First input node, specified in single quotes (e.g.'Revenue BU1')
Node2Node referenceRequired
Second input node, specified in single quotes (e.g.'Revenue BU2')

Output shape

Dimensionality
Both inputs are aggregated to their common dimensions (the intersection of the shared dimensions). Per shared dimension, the coarser level is used. Dimensions that exist on only one side are aggregated away.
Level values
Non-matching level values are preserved in the result.
Row count
Equal or reduced, depending on how much aggregation is required before adding.

Watch out

  • Addition uses the common dimensions (intersection), not the combined dimension set. This is different from multiplication and division.
  • When adding a constant such as 'Revenue' + 100, the node is aggregated first and the constant is then added to the total.
  • To add a value to each entry before aggregation, use ADDEACH instead.
  • Both sides must have the same unit, unless one side is a scalar value.

Examples

Adding nodes with different dimensionality

This example shows how addition aggregates Node B to the common dimensions before adding it to Node A.

Input node: 'A'

YearValue
20255
202610

Input node: 'B'

YearProductValue
2025A2
2026A3
2026B4

Formula: 'A'+'B'

YearCalculationResult
20255+27
202610+3+417

Adding nodes with different level values

When level values do not overlap, addition preserves both values in the result.

Input node: 'A'

YearValue
20255

Input node: 'B'

YearValue
202610

Formula: 'A' + 'B'

YearADDITION Result
20255
202610

Adding a constant to a node

When one operand is a constant, the node is aggregated first and the constant is then added to the total.

Input node: 'Sales'

YearProductValue
2025A30
2025B20

Formula: 'Sales' + 100

YearCalculationResult
202530 + 20 + 100150

See also

UNION
When both nodes have the same levels and you want to enforce that constraint (stricter version of ADDITION).
ADDEACH
When you need to add a value to each individual entry before aggregation, rather than combining two nodes.
SUBTRACTION (-)
When you need tosubtract nodes instead of adding them. Uses the same roll-up logic.
Was this page helpful?