DIVISION (/)
'Node1' / 'Node2'
The DIVISION operator divides one input by another across their combined dimension set. In other words, division uses the union of both inputs’ dimensions.
The result keeps the finer level in each shared dimension and retains dimensions that exist on only one side.
Use this operator for standard division without additional validation handling: 'Profit' / 'Revenue'.
Parameters
- Node1Node referenceRequired
- Dividend node, specified using the node name in single quotes (e.g.
'Profit') - Node2Node referenceRequired
- Divisor node, specified using the node name in single quotes (e.g.
'Revenue')
Output shape
- Dimensionality
- The result uses the combined dimension set (the union of both inputs’ dimensions). Per shared dimension, the finer level is used. Dimensions that exist on only one side are kept as-is.
- Level values
- Values are matched on shared dimensions. Non-shared dimensions expand the result across matching rows.
- Row count
- Equal or expanded. Cells where the divisor is zero or missing become
N/A.
Watch out
- Division uses the combined dimension set (union), not the common dimensions. This is the opposite of addition and subtraction.
- If one input has additional dimensions, the result expands to keep them.
- Division by zero returns
N/A. - If you need explicit fallback handling, wrap the division in an
IFcondition, for exampleIF('Divisor' != 0, 'Dividend' / 'Divisor', 0). - Units are divided together as well. For example,
EUR/Quantityproduces the combined unitEUR / Quantity.
Examples
Dividing nodes with matching dimensions
Input node: 'Node1'
| Year | Value |
|---|---|
| 2025 | 6 |
| 2026 | 4 |
Input node: 'Node2'
| Year | Value |
|---|---|
| 2025 | 3 |
| 2026 | 1 |
Formula: 'Node1' / 'Node2'
| Year | Calculation | Result |
|---|---|---|
| 2025 | 6 / 3 | 2 |
| 2026 | 4 / 1 | 4 |
Dividing nodes with some shared dimensions
This example shows how division keeps the finer dimensionality from Node1.
Input node: 'Node1'
| Year | Product | Value |
|---|---|---|
| 2025 | A | 4 |
| 2025 | B | 0 |
| 2026 | A | 4 |
| 2026 | B | 16 |
Input node: 'Node2'
| Year | Value |
|---|---|
| 2025 | 2 |
| 2026 | 4 |
Formula: 'Node1' / 'Node2'
| Year | Product | Calculation | Result |
|---|---|---|---|
| 2025 | A | 4 / 2 | 2 |
| 2025 | B | 0 / 2 | 0 |
| 2026 | A | 4 / 4 | 1 |
| 2026 | B | 16 / 4 | 4 |
Dividing by a scalar
When one input is a scalar value, that value is applied across all rows of the other input.
Input node: 'Node1'
| Year | Value |
|---|---|
| 2025 | 4 |
| 2026 | 8 |
Input node: 'Node2'
| Value |
|---|
| 2 |
Formula: 'Node1' / 'Node2'
| Year | Calculation | Result |
|---|---|---|
| 2025 | 4 / 2 | 2 |
| 2026 | 8 / 2 | 4 |