Home      Functions     Common Solutions      Contact     






MDX Functions:
 
MDX Functions

 
Common Solutions

Common Solutions
 
Resource Links

MDX Books
MDX Related Software
MDX Related Blogs
 
Other Links

Contact Us
 
Microsoft SQL Server Analysis Services Function Page
Function Name: Item (Member)
Category: Other
Description: The Item function returns a member from a supplied tuple.
Syntax: «Tuple Expression».ITEM( «Index» )
Technet Link: MDX Item (Member) Function




The query below returns the second member (Item is zero-based) of the supplied tuple.
 

SELECT
      ([Date].[Fiscal].[Month].[July 2003], [Product].[Product Categories].[Category].[Bikes]).Item(1) ON COLUMNS
     
FROM
      [Adventure Works]
 
 

 
The query below returns the first (and only) member from the supplied tuple.
 

SELECT
      ([Product].[Product Categories].[Category].[Bikes]).Item(0) ON COLUMNS
     
FROM
      [Adventure Works]
 
 

 
 

 
Copyright 2008 by MDXpert.com.
 
Terms of Use                              Privacy Statement
 
Site Powered By - WinHost.Com