members

Returns the set of members in "hierarchy" or "level". In the case of a hierarchy, the order of the members in the result is not guaranteed. If a predictable order is required, an explicit ordering function (such as hierarchize) must be used.

Syntax

members ( hierarchy|level )

Example 1

members ( [great_outdoors_company].[Years].[Years] )

Result

Returns the members in Years.

Example 2

members ( [great_outdoors_company].[Products].[Products].[Product 
line] )

Result

Returns the members in Product line.