@GENMBRS

Function

The @GENMBRS() function returns all members with the specified generation number or generation name in the specified dimension.

Syntax

@GENMBRS(dimName,genName|genNum)

dimName A single dimension name specification.
genName|genNum Generation name or generation number from dimName. A positive integer defines a generation number.

Notes

Example

In the Sample Basic database:

@GENMBRS(Year,Month)
@GENMBRS(Year,3)

both return the following members since generation 3 of the Year dimension is named Month:

Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, and Dec (in that order).

The following example restricts the calculation to members with the combination Budget and one of the members of the Market dimension with a generation name of State.

FIX(Budget,@GENMBRS(Market,State))
   CALC DIM (Year,Measures);
ENDFIX

See Also

@LEVMBRS


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