Max is a mathematical function that returns the maximum value in a group of numeric values, rows, columns, or cells.
Max(arguments)
where arguments is one or more of the following values:
A numeric value. For example, Max(10,20,30) returns the value 30. Numeric values can include decimals and negative values. See Numeric Arguments. | |
A pointer to a row, column, or cell within a grid. References can be specified in several ways. The reference syntax is: GridName.GridElement[segment(range)].Property. See Row, Column, or Cell Reference Arguments. | |
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)