ContextMember (MDX+)

Returns the context member of a hierarchy including the Subquery content

Parameters

Name Type Cardinality Default value
  hierarchy-expression  zero-one   

Return

member

Description

Allows to retrieve information about hierarchy members in the current context. This function is a slight modification from the 'standard' currentMember function.

The context is defined as following:

1) the calculated member's tuple context ( e.g ( [Time].[2010], [Measures].[Year Diff.] ) )
2) the tuple being iterated (e.g., Sum,(), ...). Note Eval() function has no current tuple.
3) the cell tuples from the axes being evaluated.
4) the slicer content.
5) the subSelect content.
6) the default members.

As a difference to the currentMember function, the contextMember will not work across hierarchies and will
use the subQuery definition.

See Also

ContextMembers CurrentMember Current Exists Axis Slicer SubSelectAxis GetFilterInfo Same Hierarchy Tuple

Examples

Special Examples (errors, null, ...)

Since Version

6.5.1

XMLA Properties

Find here the value of the XMLA properties when not specified otherwise.