Events
Mar 31, 11 PM - Apr 2, 11 PM
The biggest SQL, Fabric and Power BI learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Returns the level of a member.
Member_Expression.Level
Member_Expression
A valid Multidimensional Expression (MDX) that returns a member.
The following example uses the Level function to return all months in the Adventure Works cube.
SELECT[Date].[Fiscal].[Month].[February 2002].Level.Members ON 0,
[Measures].[Internet Sales Amount] ON 1
FROM [Adventure Works]
The following example uses the Level function to return the name of the level for the All-Purpose Bike Stand in the Model Name attribute hierarchy in the Adventure Works cube.
WITH MEMBER Measures.x AS
[Product].[Model Name].[All-Purpose Bike Stand].Level.Name
SELECT Measures.x ON 0
FROM [Adventure Works]
Events
Mar 31, 11 PM - Apr 2, 11 PM
The biggest SQL, Fabric and Power BI learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register today