Skip to main content
Skip table of contents

MIN

Category: Math & numeric

Overview

Description

Returns the minimum 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 minimum of two nodes or of a node and a fixed numeric threshold.

Syntax

MIN('Node1', 'Node2')

Parameter

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


Examples

Row-wise minimum across two inputs

This example shows MIN 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: MIN('A', 'B')

Year

→ MIN Result

2025

32

2026

-42

2027

-25

Formula: MIN('A', 12)

Year

→ MIN Result

2025

12

2026

-42

2027

-17


Related Functions

Function

When to use instead

MAX

When you need the row-wise maximum of two nodes or thresholds instead of the minimum.

ABS

When you need absolute values of one node rather than a comparison between two inputs.

JavaScript errors detected

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

If this problem persists, please contact our support.