Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.17 KB

File metadata and controls

45 lines (32 loc) · 1.17 KB
title Item (Member) (MDX)
description Item (Member) (MDX)
ms.date 02/17/2022
ms.service sql
ms.subservice analysis-services
ms.topic reference
ms.custom mdx

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)