IsLeaf(MDX)IsLeaf (MDX)

적용 대상:예SQL Server Analysis Services아니요Azure Analysis ServicesAPPLIES TO:yesSQL Server Analysis ServicesnoAzure Analysis Services

지정한 멤버가 리프 멤버인지 여부를 반환합니다.Returns whether a specified member is a leaf member.

구문Syntax


IsLeaf(Member_Expression)   

인수Arguments

Member_ExpressionMember_Expression
멤버를 반환하는 유효한 MDX 식입니다.A valid Multidimensional Expressions (MDX) expression that returns a member.

주의Remarks

IsLeaf 함수에서 반환 true 지정 된 멤버가 리프 멤버인 경우.The IsLeaf function returns true if the specified member is a leaf member. 그렇지 않으면 함수가 반환 false합니다.Otherwise, the function returns false.

예제Example

다음 예에서는 [Date].[Fiscal].CurrentMember가 리프 멤버인 경우 TRUE를 반환합니다.The following example returns TRUE if [Date].[Fiscal].CurrentMember is a leaf member:

WITH MEMBER MEASURES.ISLEAFDEMO AS

IsLeaf([Date].[Fiscal].CURRENTMEMBER)

SELECT {MEASURES.ISLEAFDEMO} ON 0,

[Date].[Fiscal].MEMBERS ON 1

FROM [Adventure Works]

관련 항목:See Also

MDX 함수 참조 ( Mdx)MDX Function Reference (MDX)