Export (0) Print
Expand All
Avg
IIf
Lag
Max
Min
Mtd
Qtd
Sum
Var
Wtd
Ytd
Expand Minimize

Parent (MDX)

Updated: 17 July 2006

Returns the parent of a member.


Member_Expression.Parent 

Member_Expression

A valid Multidimensional Expressions (MDX) expression that returns a member.

The Parent function returns the parent member of the specified member.

Examples

The following examples return the parent of the July 1, 2001 member. The first example specifies this member in the context of the Date attribute hierarchy and returns the All Periods member.

SELECT [Date].[Date].[July 1, 2001].Parent ON 0
FROM [Adventure Works]

The following example specifies the July 1, 2001 member in the context of the Calendar hierarchy.

SELECT [Date].[Calendar].[July 1, 2001].Parent ON 0
FROM [Adventure Works]

Release History

17 July 2006

Changed content:
  • Updated syntax and arguments to improve clarity.
  • Added updated examples.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft