Item (Member) (MDX)
Returns a member from a specified tuple.
Tuple_Expression.Item( Index )
Tuple_Expression
A valid Multidimensional Expressions (MDX) expression that returns a tuple.
Index
A valid numeric expression that specifies the specific member by position within the tuple to be returned.
The Item function returns a member from the specified tuple. The function returns the member found at the zero-based position specified by Index.
The following example returns the member [2003]
- the first item in the tuple [Date].[Calendar Year].&[2003], [Measures].[Internet Sales Amount] ).
- on columns :
SELECT
{( [Date].[Calendar Year].&[2003], [Measures].[Internet Sales Amount] ).Item(0)} ON 0
,{[Measures].[Reseller Sales Amount]} ON 1
FROM [Adventure Works]