The CUBEMEMBER function

Contents



The CUBEMEMBER function <Post <Blog | SumProduct son expertos en capacitación de Excel: modelado financiero, modelado de datos estratégicos, auditoría de modelos, planificación y estrategia, cursos de capacitación, consejos y base de conocimiento en línea.






keep in mind javascript is needed for full functionality of the web portal.

Welcome back to our usual blog of Excel functions from A to Z. Today we look at the MIEMBRO CUBO function.

The CUBEMEMBER function

When the workbook is connected to a Microsoft SQL Server 2005 Analysis Services or a later data source, tsu función devuelve un miembro o tupla del cubo. Esto se utiliza para validar que el miembro o la tupla existe en el cubo.

The MIEMBRO CUBO The function uses the following syntax to operate:

MIEMBROCUBO (Connection, member_expression, )

The MIEMBRO CUB The function uses the following syntax to operate:

MIEMBROCUBO (Connection, member_expression, )

The MIEMBRO CUB The function has the following arguments:

  • Connection: this is mandatory and represents a text string of the name of the connection to the cube
  • member_expression: this is also necessary. Esta es una cadena de texto de una expresión multidimensional (MDX) que se evalúa como un miembro único en el cubo. Alternatively, member_expression puede ser una tupla, especificada como un rango de celdas o una constante de matriz
  • subtitle: this is optional. Esto representa una cadena de texto que se muestra en la celda en lugar del título, si hay uno definido, del cubo. Cuando se devuelve una tupla, el título utilizado es el del último miembro de la tupla.

It should be noted at the same time that:

  • the CUBEKPIMEMBER The function is supported only when the workbook is connected to a Microsoft SQL Server 2005 Analysis Services or a later data source.
  • when the MIEMBRO CUB The function evaluates, temporarily display a message “# GETTING_DATA …” in cell before all data is retrieved.
  • cuando usas MIEMBRO CUB como argumento a otro CUBO function, the MDX expresión que identifica al miembro o tupla es utilizada por ese CUBO function, no el valor mostrado en la celda del MIEMBRO CUB function
  • si el nombre de la conexión no es una conexión de libro válida almacenada en el libro de trabajo, MIEMBRO CUB returns a #NAME? error value. If the online analytical processing server (OLAP) it's not working, no está habilitada o devuelve un mensaje de error, MIEMBRO CUB returns a #NAME? error value
  • si al menos un elemento dentro de la tupla no es válido, MIEMBRO CUB returns a #VALUE! error value
  • And member_expression tiene más de 255 characters, que es el límite de un argumento para una función, MIEMBRO CUB returns a #VALUE! error value. Para utilizar cadenas de texto de más de 255 characters, ingrese la cadena de texto en una celda (para la cual el límite es 32,767 characters) y posteriormente use una referencia de celda como argumento en su lugar
  • MIEMBRO CUBO returns a #N / A error value when:
    • the member_expression la sintaxis es incorrecta
    • el miembro especificado por el MDX la cadena de texto no existe en el cubo
    • la tupla no es válida debido a que no hay intersección para los valores especificados (esto puede ocurrir con muchos ítems de la misma jerarquía)
    • el conjunto contiene al menos un miembro con una dimensión distinto a los otros miembros
  • MIEMBRO CUBO can return a #N / A error value if you reference a session-based object, as a calculated member or named set, in a pivot table when a connection is shared, and that pivot table is dropped or converts pivot table to formulas (in the 'Options' tab’ of the tape , in the group 'Tools', click on 'OLAP Tools’ y posteriormente haga clic en ‘Convertir a fórmulas’).

Please, see my examples below:

= MIEMBROCUBO (“Sales”, “[Time].[Fiscal].[2020]”)

= MIEMBROCUBO (“Sales”, (B4, C6, D5), “Ventas para 2020”)

= MIEMBROCUBO (“xlextdat8 Ventas de FoodMart 2020”, “([Product].[Food],[Time].[2019]) “)

= MIEMBRO CUBO ($ A $ 1, C $ 12: D $ 12)

Soon we will continue with our functions from A to Z of Excel. Keep checking: there is a new blog post every business day.








Subscribe to our Newsletter

We will not send you SPAM mail. We hate it as much as you.