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 (Set)
Category: Other
Description: The Item(Set) function returns a tuple from a set based on the supplied index number.
Syntax: «Set».ITEM( «String Expression»[, «String Expression»...] | «Index» )
Technet Link: MDX Item (Set) Function




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

SELECT
      ([Date].[Fiscal].[Month].Members.Item(0)) ON COLUMNS
     
FROM
      [Adventure Works]
 
 

 
The following query returns the 100 tuple (Item is zero-based) of the supplied set.
 

SELECT
      ([Product].[Product].Members.Item(99)) ON COLUMNS
     
FROM
      [Adventure Works]
 
 

 
 

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