MAX
Category: Math & numeric
Overview
Description | Returns the maximum of matching values from two Nodes. Both nodes have to have either the same dimensionality, resulting in a Node with the same dimensionality, or one input needs to be a number, in which case the result has the dimensionality of the other Node. Use when you need the row-wise maximum of two nodes or of a node and a fixed numeric threshold. |
|---|---|
Syntax |
|
Parameter | Node: Input node, specified using the node name in single quotes (e.g. |
Examples
Row-wise maximum across two inputs
This example shows MAX applied both to two input nodes and to a node combined with a fixed numeric threshold.
Input node: A
Year | Value |
|---|---|
2025 | 32 |
2026 | -42 |
2027 | -17 |
Input node: B
Year | Value |
|---|---|
2025 | 41 |
2026 | 12 |
2027 | -25 |
Formula: MAX('A', 'B')
Year | → MAX Result |
|---|---|
2025 | 41 |
2026 | 12 |
2027 | -17 |
Formula: MAX('A', 7)
Year | → MAX Result |
|---|---|
2025 | 32 |
2026 | 7 |
2027 | 7 |