NOT
NOT('Node')
The NOT function inverts the input values with the logical NOT operation. If the input is true (non-zero), false (0) is returned, and true (1) otherwise.
Use this function when you want to invert an existing logical condition so true becomes false and false becomes true.
Parameters
- NodeNode referenceRequired
- Input node, specified using the node name in single quotes (e.g.
'Profit').
Example
Typical use
This example shows that NOT turns non-zero values into 0 and turns 0 into 1.
Input node: 'A'
| Year | Value |
|---|---|
| 2025 | 400 |
| 2026 | 0 |
| 2027 | 850 |
| 2028 | 500 |
Formula: NOT('A')
| Year | NOT Result |
|---|---|
| 2025 | 0 |
| 2026 | 1 |
| 2027 | 0 |
| 2028 | 0 |