メンバーのレベルを返します。
構文
Member_Expression.Level
引数
Member_Expression
メンバーを返す有効な多次元式(MDX)です。
Examples
以下の例では 、Adventure Worksキューブ内のすべての月をLevel関数で返します。
SELECT[Date].[Fiscal].[Month].[February 2002].Level.Members ON 0,
[Measures].[Internet Sales Amount] ON 1
FROM [Adventure Works]
以下の例では 、Adventure WorksキューブのModel Name属性階層内の All-Purpose バイクスタンドのレベル名をLevel関数で返します。
WITH MEMBER Measures.x AS
[Product].[Model Name].[All-Purpose Bike Stand].Level.Name
SELECT Measures.x ON 0
FROM [Adventure Works]