Cube - CUBEMEMBER Function

The CUBEMEMBER function returns a member or tuple from the cube. Use this function to validate that the member or tuple exists in the cube.
CUBEMEMBER (connection, member_expression, [caption])

A multidimensional expression (MDX) that evaluates to a unique member  in the cube - A text string
OR
A tuple, specified as a cell range or an array constant
When the CUBEMEMBER Function evaluates, it temporarily displays a "#GETTING_DATA..." message in the cell before all of the data is retrieved.
When the CUBEMEMBER Function evaluates, it temporarily displays a "#GETTING_DATA..." message in the cell before all of the data is retrieved.
When you use CUBEMEMBER as an argument to another CUBE Function, the MDX expression that identifies the member or tuple is used by that CUBE Function, not the displayed value in the cell of the CUBEMEMBER Function.
When you use CUBEMEMBER as an argument to another CUBE Function, the MDX expression that identifies the member or tuple is used by that CUBE Function, not the displayed value in the cell of the CUBEMEMBER Function.
If the connection name is not a valid workbook connection stored in the workbook, CUBEMEMBER returns a #NAME? Error value. If the Online Analytical Processing (OLAP) server is not running, not available, or returns an error message, CUBEMEMBER returns a #NAME? Error value.
If the connection name is not a valid workbook connection stored in the workbook, CUBEMEMBER returns a #NAME? Error value. If the Online Analytical Processing (OLAP) server is not running, not available, or returns an error message, CUBEMEMBER returns a #NAME? Error value.
If at least one element within the tuple is invalid, CUBEMEMBER returns a #VALUE! error value.
If at least one element within the tuple is invalid, CUBEMEMBER returns a #VALUE! error value.
If member_expression is longer than 255 characters, which is the limit for an argument to a function, CUBEMEMBER returns a #VALUE! Error value. To use text strings longer than 255 characters, enter the text string in a cell (for which the limit is 32,767 characters), and then use a cell reference as the argument.
If member_expression is longer than 255 characters, which is the limit for an argument to a function, CUBEMEMBER returns a #VALUE! Error value. To use text strings longer than 255 characters, enter the text string in a cell (for which the limit is 32,767 characters), and then use a cell reference as the argument.
CUBEMEMBER returns a #N/A error value when −

The member_expression syntax is incorrect
The member specified by the MDX text string does not exist in the cube.
The tuple is invalid because there is no intersection for the specified values. (This can occur with multiple elements from the same hierarchy.)
The set contains at least one member with a different dimension than the other members.


CUBEMEMBER returns a #N/A error value when −
The member_expression syntax is incorrect
The member_expression syntax is incorrect
The member specified by the MDX text string does not exist in the cube.
The member specified by the MDX text string does not exist in the cube.
The tuple is invalid because there is no intersection for the specified values. (This can occur with multiple elements from the same hierarchy.)
The tuple is invalid because there is no intersection for the specified values. (This can occur with multiple elements from the same hierarchy.)
The set contains at least one member with a different dimension than the other members.
The set contains at least one member with a different dimension than the other members.
CUBEMEMBER may return a #N/A error value if you reference a session-based object, such as a calculated member or named set, in a PivotTable when sharing a connection. The PivotTable is deleted or you can convert the PivotTable to formulas. (On the Options tab, in the Tools group, click OLAP Tools, and then click Convert to Formulas).
CUBEMEMBER may return a #N/A error value if you reference a session-based object, such as a calculated member or named set, in a PivotTable when sharing a connection. The PivotTable is deleted or you can convert the PivotTable to formulas. (On the Options tab, in the Tools group, click OLAP Tools, and then click Convert to Formulas).
Excel 2007, Excel 2010, Excel 2013, Excel 2016

    296 Lectures 
     146 hours 

 Arun Motoori

    56 Lectures 
     5.5 hours 

 Pavan Lalwani

    120 Lectures 
     6.5 hours 

 Inf Sid

    134 Lectures 
     8.5 hours 

 Yoda Learning

    46 Lectures 
     7.5 hours 

 William Fiset

    25 Lectures 
     1.5 hours 

 Sasha Miller
 Print
 Add Notes
 Bookmark this page