Count (Dimension) (MDX)
Returns the number of hierarchies in a cube.
Syntax
Dimensions.Count
Remarks
Returns the number of hierarchies in a cube, including the [Measures].[Measures]
hierarchy.
Example
The following example returns the number of hierarchies in the Adventure Works cube.
WITH MEMBER measures.X AS
dimensions.count
SELECT Measures.X ON 0
FROM [Adventure Works]
See Also
Count (Tuple) (MDX)
Count (Hierarchy Levels) (MDX)
Count (Set) (MDX)
MDX Function Reference (MDX)
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for