Returns TRUE if the current member of the specified dimension is in the specified generation.
Syntax
@ISGEN (dimName, genName | genNum)
Parameter | Description |
---|---|
dimName | The name of a dimension. |
genName or genNum | Generation name specification, or a non-negative number that defines the number of a generation. |
Example
In the Sample Basic database:
@ISGEN(Measures,3)
Returns TRUE if the current member is Margin, Total Inventory, or Margin %, because these members are all in generation 3 of the Measures dimension.
@ISGEN(Market,2)
Returns FALSE if the current member is New York or Market, because these members are not in generation 2 of the Market dimension.
See Also