Max

Max is a mathematical function that returns the maximum value in a group of numeric values, rows, columns, or cells.

Syntax:

Max(arguments)

where arguments is one or more of the following values:

Argument Description

numeric

A numeric value. For example, Max(10,20,30) returns the value 30.

Numeric values can include decimals and negative values. See Numeric Arguments.

row, column, or cell reference

A pointer to a row, column, or cell within a grid.

You can specify references in several ways. The reference syntax is: GridName.GridElement[segment(range)].Property . See Row, Column, or Cell Reference Arguments.

function

An embedded function.

See Mathematical Functions.

Examples:

Return the maximum value in rows 1, 6, and 8:

Max(row[1], row[6], row[8])

Calculate the maximum of the sums of aggregate rows:

Max(row[1].sum, row[2].sum, row[3].sum)