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: DrillupLevel
Category: UI
Description: The DrillupLevel function drills up the members of a set that are below the supplied level.
Syntax: DRILLUPLEVEL( «Set»[, «Level»] )
Technet Link: MDX DrillupLevel Function




The following query returns the set of members (Q3 FY 2003 and March 2003) from the first set that are above the supplied Month level.
 

SELECT
      {} ON COLUMNS,
      DRILLUPLEVEL({[Date].[Fiscal].[Fiscal Quarter].[Q3 FY 2003], [Date].[Fiscal].[Month].[March 2003], [Date].[Fiscal].[March 15, 2003]} ,[Date].[Fiscal].[Month]) ON ROWS
FROM
      [Adventure Works]
 
 

 
The query below returns the members in the levels above the supplied State-Province level.
 

SELECT
      {} ON COLUMNS,
      DRILLUPLEVEL({[Geography].[Geography].AllMembers} ,[Geography].[Geography].[State-Province]) ON ROWS
FROM
      [Adventure Works]
 
 

 
 

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