keep in mind javascript is needed for full functionality of the web portal.
- Casa
- Blog
- La función CUBEMEMBERPROPERTY
Welcome back to our frequent blog of Excel functions from A to Z. Today we look at the PROPIEDAD CUBEMEMBER function.
La función CUBEMEMBERPROPERTY
When the workbook is connected to a Microsoft SQL Server 2005 Analysis Services or a later data source, the PROPIEDAD CUBEMEMBER function, una de las funciones de cubo en Excel, devuelve el valor de una propiedad miembro de un cubo. Puede usarlo para validar que existe un nombre de miembro dentro del cubo y para devolver la propiedad especificada para este miembro.
The PROPIEDAD CUBEMEMBER The function uses the following syntax to operate:
CUBEMEMBERPROPERTY (Connection, member_expression, propiedad)
The PROPIEDAD CUBEMEMBER 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) de un miembro dentro del cubo
- propiedad: again, esto es obligatorio y representa una cadena de texto del nombre de la propiedad devuelta o una referencia a una celda que contiene el nombre de la propiedad.
It should be noted at the same time that:
- the PROPIEDAD CUBEMEMBER 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 PROPIEDAD CUBEMEMBER The function evaluates, temporarily display a message “# GETTING_DATA …” in cell before all data is retrieved.
- si el nombre de la conexión no es una conexión de libro válida almacenada en el libro de trabajo, PROPIEDAD CUBEMEMBER 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, PROPIEDAD CUBEMEMBER returns a #NAME? error value
- If he member_expression la sintaxis es incorrecta o si el miembro especificado por member_expression no existe en el cubo, PROPIEDAD CUBEMEMBER returns a #N / A error value
- PROPIEDAD CUBEMEMBER 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 después haga clic en ‘Convertir a fórmulas’)
- PROPIEDAD CUBEMEMBER no funcionará con modelos de datos de Excel que se editan en Power Pivot, puesto que no son cubos multidimensionales.
Please, see my examples below:
= CUBEMEMBERPROPERTY (“Sales”, “[Time].[Fiscal].[2020]”, $ A $ 3)
= CUBEMEMBERPROPERTY (“Sales”, “[Store].[MyFavoriteStore]”,”[Store].[Store Name].[Store Sqft]”)
Soon we will continue with our functions from A to Z of Excel. Keep checking: there is a new blog post every business day.
Sign up to receive our newsletter