Count(튜플)(MDX)Count (Tuple) (MDX)

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

튜플의 차원 수를 반환합니다.Returns the number of dimensions in a tuple.

구문Syntax


Tuple_Expression.Count  

인수Arguments

Tuple_ExpressionTuple_Expression
튜플을 반환하는 유효한 MDX 식입니다.A valid Multidimensional Expressions (MDX) expression that returns a tuple.

주의Remarks

튜플의 차원 수를 반환합니다.Returns the number of dimensions in a tuple.

예제Example

다음 쿼리에서 계산 측정값은 ([Measures].[Internet Sales Amount], [Date].[Calendar].[Calendar Year].&[2001]) 튜플에 표시된 계층 수인 값 2를 반환합니다.The calculated measure in the following query returns the value 2, which is the number of hierarchies present in the tuple ([Measures].[Internet Sales Amount], [Date].[Calendar].[Calendar Year].&[2001]):

WITH MEMBER MEASURES.COUNTTUPLE AS  
COUNT(([Measures].[Internet Sales Amount], [Date].[Calendar].[Calendar Year].&[2001]))  
SELECT MEASURES.COUNTTUPLE ON 0  
FROM [Adventure Works]  

관련 항목:See Also

Count ( 차원 ) ( Mdx) Count (Dimension) (MDX)
Count ( 계층 수준 ) ( Mdx) Count (Hierarchy Levels) (MDX)
Count ( 설정 ) ( Mdx) Count (Set) (MDX)
MDX 함수 참조 ( Mdx)MDX Function Reference (MDX)