Redigera

Dela via


Item (Member) (MDX)

Returns a member from a specified tuple.

Syntax

  
Tuple_Expression.Item( Index )  

Arguments

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.

Remarks

The Item function returns a member from the specified tuple. The function returns the member found at the zero-based position specified by Index.

Example

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]

See Also

MDX Function Reference (MDX)