CUBESET Function
Define a set of members or tuples of an OLAP cube. Other cube functions, such as CUBESETCOUNT and CUBERANKEDMEMBER, use the set. connection is the name of the connection to the cube, set_expression the MDX expression of the set and caption an optional text shown in the cell; sort_order and sort_by sort the members of the set. The function requires host-provided data or an Excel-specific object: TX Sheet Control has no built-in cube connection, so the application supplies the data through a formula provider. Without a provider, the function returns #N/A.
Syntax
CUBESET(connection, set_expression, caption, sort_order, sort_by)
Category: Cube. Minimum arguments: 2. Maximum arguments: 5.
Important
Application Data or Provider Required. Configure the documented provider rather than expecting automatic network or Excel-service access.
Examples
=CUBESET("connection","[Set]")
Without a formula provider, the formula returns #N/A.
Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.