@MAXRANGE

Function

The @MAXRANGE() function returns the maximum value of the specified member across the specified range of members.

Syntax

@MAXRANGE (mbrName [ ,rangeList])

mbrNameAny valid single member name or member combination, or a function that returns a single member or member combination.
rangeListA valid member name, a comma-delimited list of member names, member set functions, and range functions from the same dimension. If rangeList is not specified, Hyperion Essbase uses the level 0 members from the dimension tagged as Time.

Notes

Depending on the values in the list, @MAXRANGE may return a zero(0) or #MISSING value. For full control over skipping or inclusion of zero(0) and #MISSING values, it is recommended to use the @MAXSRANGE function instead of the @MAXRANGE function.

 

Example

In the Sample Basic database:

Qtr1 = @MAXRANGE(Sales,@CHILDREN(Qtr1));

This example produces the following report:


           Colas   New York   Actual	
		   
          Jan     Feb     Mar     Qtr1
          ===     ===     ===     ====
Sales     678     645     675     678 

See Also

@MAXSRANGE
@MAXS
@MINSRANGE


Copyright (c)1991-2000 Hyperion Solutions Corporation. All rights reserved.