EXCEL CUBESET FUNCTION

Defines a calculated set of members or tuples by sending a set expression to the server’s cube, which creates the set and returns it to Microsoft Excel.

Syntax :

=CUBESET(conn, set expression, , [sort order], [sort by]) 

Parameters :

Connection :

  • An internet connection is required. A text string names of the cube connection.

Set expression :

  • Must be used. A text string containing a set expression that yields a set of members or tuples. Set expression can also be a cell reference to an Excel range containing one or more of the set’s members, tuples, or sets. 

Caption :

  • Optional caption. A text string from the cube that is displayed in the cell instead of the caption, if one is defined. [Anything].

Step By Step Guide of CUBESET Function

Example :

  • =CUBESET(“Finance”,”Order([Product].[Product]. Members, [Product Category]. [Measures]. [Sales Units],ASC)”,”Products” “( )
  • =CUBESET(“Sales”,”[Product].
    [Everything].
  • When the CUBESET function evaluates, it shows a “#GETTING DATA…” message in the cell until all of the data has been retrieved.
  • CUBESET returns a #NAME? . CUBESET delivers a #NAME? error value if the Online Analytical Processing (OLAP) server is not operating, is unavailable, or gives an error message.

Related Functions

HLOOKUP Function

HLOOKUP Function

Explore Now

VLOOKUP Function

VLOOKUP Function

Explore Now

INDEX Function

INDEX Function

Explore Now

MATCH Function

MATCH Function

Explore Now

DATE Function

DATE Function

Explore Now

IF Function

IF Function

Explore Now

OR Function

OR Function

Explore Now

AND Function

AND Function

Explore Now

RANK Function

RANK Function

Explore Now

SUMIF Function

SUMIF Function

Explore Now

XIRR Function

XIRR Function

Explore Now

WORKDAYS Function

WORKDAYS Function

Explore Now