If you see this message, your browser either has disabled or does not support JavaScript. To use the full features of this help system, such as searching and the table of contents, your browser must have JavaScript support enabled. If your browser supports JavaScript, it provides settings that enable or disable JavaScript. When JavaScript is disabled, you can view only the content of the help topic, which follows this message.

@IRDESCENDANTS

Returns the specified member and all its descendants, or all descendants down to a specified generation or level, including descendants of any occurrences of the specified member as a shared member.

You can use this member set function as a parameter of another function, where that parameter is a list of members. In the absence of shared members, @IRDESCENDANTS and @IDESCENDANTS have identical behavior.

Syntax

@IRDESCENDANTS (mbrName[, genLevNum | genLevName])

Parameter

Description

mbrName

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

genLevNum

Optional. An integer value that defines the absolute generation or level number down to which to select the members. A positive integer defines a generation number. A value of 0 or a negative integer defines a level number.

genLevName

Optional. Level name or generation name down to which to select the members.

Notes

The order of members in the result list is important to consider when you use the @IRDESCENDANTS member set function with certain forecasting and statistical functions. Essbase generates the list of members in the following sequence: If a shared member is encountered, the above steps are repeated on the member being shared.

The specified member

The nearest descendant of the member

The next nearest descendant of the member, and so on

You can use @RDESCENDANTS to exclude the specified member and include descendants of shared members.

You can use @IDESCENDANTS to include the specified member and exclude descendants of shared members.

You can use @DESCENDANTS to exclude the specified member and descendants of shared members.

Example

Example 1

Assume a variation of the Sample Basic database such that the Product dimension includes the following members: