FALSE
Category: Logical functions
Overview
Description | Returns false (0) for every defined value in the input. Use this when you need a node of all zeros that matches the dimensionality of an existing node, for example as a baseline or reset value. |
Syntax |
|
Parameters | Node: Input node, specified using the node name in single quotes (e.g. |
Function alternative
If you need a 0 for each undefined row, look at the IS_NA function, and invert its result with FALSE.
Examples
Returns 0 for all defined rows
This example shows FALSE returning 0 for every row that has a defined value in the input node.
Input node: Revenue
Year | Value |
2025 | -24.5 |
2026 | 95 |
2027 | 110 |
Formula: FALSE('Revenue')
Year | → FALSE Result |
2025 | 0 |
2026 | 0 |
2027 | 0 |
FALSE applied to a combined expression
When FALSE is applied to a sum of two nodes, it returns 0 for every row where the combined expression produces a defined value.
Input node: Products
Year | Product | Value |
2025 | A | 67 |
2026 | B | 85 |
2027 | A | 954 |
2027 | B | -54 |
Formula: FALSE('Revenue'+'Products')
Year | → FALSE Result |
2025 | 0 |
2026 | 0 |
2027 | 0 |
Undefined values are preserved
FALSE only produces 0 for defined values. Rows where the input is undefined remain undefined in the result.
Input node: A
Year | Value |
2025 | 95 |
2026 | |
2027 | 236 |
Formula: FALSE('A')
Year | → FALSE Result |
2025 | 0 |
2026 | |
2027 | 0 |