CUBESETCOUNT()

Syntax. CUBESETCOUNT(set)

Definition. This function returns the number of members in a set.

Argument

  • set (required) A set defined with the CUBESET() function or a reference to the cell containing members of the cube

Background. The result of this function is an integer. If the argument causes an error, this error is also returned as the result.

Note

In the cell containing the function, the message #GETTING_DATA temporarily appears while the data is being queried.

Example. In the CUBESETCOUNT() function, if you reference a cell that returns the sorted set of the stores like

=CUBESET("offline","[Stores].[Store].Children", "all store sales",2,"[Measures].
[Sale]")

the result will be 4. You get the same result if you pass this formula as an argument. The keyword Children is not context sensitive.

See Also

All other cube functions, GETPIVOTDATA()

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.10.32