Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How to calculate average last N values in a table in Excel
  • Create Scatter Chart in Excel
  • How to Create One and Two Variable Data Tables in Excel
  • How To Load Analysis ToolPak in Excel
  • Conditional Formatting Rules in Excel

References

  • Extract all partial matches in Excel
  • How to use Excel OFFSET function
  • Multi-criteria lookup and transpose in Excel
  • How to retrieve first match between two ranges in Excel
  • Find Closest Match in Excel Using INDEX, MATCH, ABS and MIN functions

Data Validations

  • Excel Data validation unique values only
  • Excel Data validation number multiple 100
  • Data validation must not exist in list
  • Excel Data validation whole percentage only
  • Excel Data validation must begin with

CUBEMEMBER function: Description, Usage, Syntax, Examples and Explanation

by

What is CUBEMEMBER  function in Excel?

CUBEMEMBER  function  is one of the Cube functions in Microsoft Excel which returns a member or tuple from the cube. Use to validate that the member or tuple exists in the cube.

Syntax of CUBEMEMBER  function

CUBEMEMBER(connection, member_expression, )

The CUBEMEMBER function syntax has the following arguments:

  • Connection: A text string of the name of the connection to the cube.
  • Member_expression: A text string of a multidimensional expression (MDX) that evaluates to a unique member in the cube. Alternatively, member_expression can be a tuple, specified as a cell range or an array constant.
  • Caption (Optional): A text string displayed in the cell instead of the caption, if one is defined, from the cube. When a tuple is returned, the caption used is the one for the last member in the tuple.

Explanation of CUBEMEMBER  function

  • 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.
  • 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 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 doesn’t 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 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, and that PivotTable is deleted or you convert the PivotTable to formulas. (On the Options tab, in the Tools group, click OLAP Tools, and then click Convert to Formulas.)

Examples of CUBEMEMBER  function

=CUBEMEMBER(“Sales”,”[Time].[Fiscal].[2004]”)

=CUBEMEMBER($A$1,D$12)

=CUBEMEMBER(“Sales”,(B4, C6, D5),”SalesFor2004″)

=CUBEMEMBER(“xlextdat8 FoodMart 2000 Sales”,”([Product].[Food],[Time].[1997])”)

=CUBEMEMBER($A$1,C$12:D$12)

Post navigation

Previous Post:

How to calculate project complete percentage in Excel

Next Post:

Popularly Used Excel Functions and their examples

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • IFNA function: Description, Usage, Syntax, Examples and Explanation
  • How to return blank in place of #DIV/0! error in Excel
  • IF function: Description, Usage, Syntax, Examples and Explanation
  • Invoice status with nested if in Excel
  • How to use Excel NOT Function

Date Time

  • Get days, hours, and minutes between dates in Excel
  • NOW function: Description, Usage, Syntax, Examples and Explanation
  • DATEVALUE function: Description, Usage, Syntax, Examples and Explanation
  • Create date range from two dates in Excel
  • How to get same date next month or previous month in Excel

Grouping

  • Running count group by n size in Excel
  • Group times into 3 hour buckets in Excel
  • Categorize text with keywords in Excel
  • Calculate conditional mode with criteria in Excel
  • Group times into unequal buckets in Excel

General

  • How to calculate percent change in Excel
  • How to create dynamic named range with INDEX in Excel
  • Count cells less than in Excel
  • AutoRecover file that was never saved in Excel
  • 3D SUMIF for multiple worksheets in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning