For the complete documentation index, see llms.txt. This page is also available as Markdown.

MAX

The MAX function returns the largest number from a set of values. It evaluates the provided numbers or node references and identifies the highest value among them. This function is commonly used in data analysis to determine maximum values, peaks, or top-performing results within a dataset.

Syntax

MAX(value1, [value2], ...)

Arguments

  • value1: The first number, array, or reference that contains numbers.

  • value2, ... (Optional): Additional numbers, arrays, or references that contain numbers.

Return value

Returns the largest value from the specified arguments.

Example

MAX(Q1.Units, Q2.Units, Q3.Units, Q4.Units)

In the example below, the Max Unit measure is created using the MAX function, which returns the largest unit value across the four quarters.

Excel Equivalent

MAX

Last updated

Was this helpful?