Cube Functions in Microsoft Excel 2010

  • 12/22/2011



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


  • 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.

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].

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.