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

이 항목은 다음에 적용됩니다.예SQL Server(2008부터)아니요Azure SQL Database아니요Azure SQL Data Warehouse 아니요병렬 데이터 웨어하우스 THIS TOPIC APPLIES TO:yesSQL Server (starting with 2008)noAzure SQL DatabasenoAzure SQL Data Warehouse noParallel Data Warehouse

튜플의 차원 수를 반환합니다.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)