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: Count (Tuple)
Category: Metadata
Description: The Count function, when applied to tuples, returns the number of dimensions within the specified tuple.
Syntax: «Tuple».COUNT
Technet Link: MDX Count (Tuple) Function

The query below shows there are a total of four dimensions in the supplied tuple.
      MEMBER [Measures].[NumberOfDims] AS
      ([Date].[Fiscal].[Date].[July 19, 2003], [Reseller].[Reseller].[All Cycle Shop], Measures, [Product].[Product].[Fork End]).Count
      [Measures].[NumberOfDims] ON COLUMNS
      [Adventure Works]


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