Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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]