Skip to main content
Skip table of contents

Descendants

Returns the set of descendants of a member at a specified level.

Syntax

CODE
Descendants( Member_Expression , Level_Expression )

Arguments

Member_ExpressionMDX expression that returns a member.
Level_Expression

MDX expression specifying a member level for the set.

Returns


Set_ExpressionMDX expression that returns set of particular level members

Example

The example below would return the average Gross profit monthly for the selected year

CODE
Avg( 
 Descendants(
  [Time].[Year].CurrentMember,
  [Time].[Month]
 ), 
 [Measures].[Gross profit base amount]
)
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.