defaultMember

Returns the default member of "hierarchy".

Syntax

defaultMember ( hierarchy )

Example 1

defaultMember ( [great_outdoors_company].[Products].[Products] )

Result

Products

Example 2

defaultMember ( [great_outdoors_company].[Years].[Years] )

Result

Year

Example 3

defaultMember ( hierarchy ( [great_outdoors_company].[Measures].
[Quantity sold] ) )

Result

Revenue