Skip to main content
Skip table of contents

MAX

Basic 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.

Syntax

MAX(Node1Node2)

Parameter

  • Node: Input node, specified using the node name in single quotes (e.g. 'Profit')


Example

Input A =

Year

Value

2019

32

2020

-42

2021

-17


Input B =

Year

Value

2019

41

2020

12

2021

-25


Output MAX('A', 'B') =

Year

Value

2019

41

2020

12

2021

-17


Output MAX('A', 7) =

Year

Value

2019

32

2020

7

2021

7

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.