CUBEMEMBER Function
Return a member or tuple from an OLAP cube. A member is an item of the cube, such as a product or a year, which other cube functions use. connection is the name of the connection to the cube, member_expression the MDX expression of the member and caption an optional text shown in the cell instead of the member's name. 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
CUBEMEMBER(connection, member_expression, caption)
Category: Cube. Minimum arguments: 2. Maximum arguments: 3.
Important
Application Data or Provider Required. Configure the documented provider rather than expecting automatic network or Excel-service access.
Examples
=CUBEMEMBER("connection","[Member]")
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.