@GEN

Returns the generation number of the specified member.

Syntax

@GEN (mbrName)
Parameter Description

mbrName

Any valid single member name or member combination, or a function that returns a single member or member combination.

Example

In the Sample Basic database:

@GEN(Year)

Returns 1.

@GEN(Qtr3)

Returns 2.

See Also