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: NameToSet
Category: String
Description: The NameToSet function returns a set that contains the member from the supplied string.
Syntax: NAMETOSET( Ā«Member NameĀ» )
Technet Link: MDX NameToSet Function

The query below returns a set for the supplied July 2001 member.

      NAMETOSET('[Date].[Fiscal].[July 2001]') ON COLUMNS
      [Adventure Works]

The query below returns a set for the supplied Colin Chavez member.

      NAMETOSET('[Customer].[Customer Geography].[Customer].[Colin Chavez]') ON COLUMNS
      [Adventure Works]
      {[Measures].[Internet Order Count]}


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