CUBESETCOUNT function

Category: Cube
Introduced: Excel 365

Summary

Returns the number of items in a set.

Syntax

CUBESETCOUNT(set) The CUBESETCOUNT function syntax has the following argument:
• Set Required. A text string of a Microsoft Excel expression that evaluates to a set defined by the CUBESET function. Set can also be the CUBESET function, or a reference to a cell that contains the CUBESET function.

Example

=CUBESETCOUNT(A3)
=CUBESETCOUNT(CUBESET("Sales","[Product].[All Products].Children","Products",1,"[Measures].[Sales Amount]"))

Microsoft Support Page

https://support.microsoft.com/en-us/office/cubesetcount-function-c4c2a438-c1ff-4061-80fe-982f2d705286

Back to Functions