SQRT
SQRT('Node')
The SQRT function returns the square root of each value in the input.
Use this function when you need the square root of positive values for scaling, normalization, or mathematical transformations.
Parameters
- NodeNode referenceRequired
- Input node, specified using the node name in single quotes (e.g.
'Profit').
Watch out
- Use POWER for other roots (e.g. cube roots via a fractional exponent).
- A negative input value makes the whole calculation fail, not just that one row. SQRT is a POWER with the exponent 0.5, and a negative base with a fractional exponent is undefined. Wrap the input in
MAX('Node', 0)or ABS if negatives are possible.
Examples
Square root of positive input values
This example shows the square root computed for a node with simple positive values. Each result is the square root of the corresponding input value.
Input node: 'A'
| Year | Value |
|---|---|
| 2025 | 4 |
| 2026 | 9 |
| 2027 | 25 |
Formula: SQRT('A')
| Year | SQRT Result |
|---|---|
| 2025 | 2 |
| 2026 | 3 |
| 2027 | 5 |