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: Members (Set)
Category: Set
Description: The Members(Set) function returns the set of members in a dimension, level, or hierarchy.
Syntax: «Hierarchy».MEMBERS
«Level».MEMBERS
Technet Link: MDX Members (Set) Function




The query below returns the Month members from the Month level of the Fiscal hierarchy for the Date dimension.
 

SELECT
      {} ON COLUMNS,
      {[Date].[Fiscal].[Month].Members} ON ROWS
FROM
      [Adventure Works]
 
 

 
The query below returns the members of the Fiscal hierarchy for the Date dimension.
 

SELECT
      {} ON COLUMNS,
      {[Date].[Fiscal].Members} ON ROWS
FROM
      [Adventure Works]
 
 

 
 

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