How can I use the CUBEMEMBERPROPERTY function in Excel to retrieve a specific property of a cube member in a cube data source?

How can I use the CUBEMEMBERPROPERTY function in Excel to retrieve a specific property of a cube member in a cube data source?

The CUBEMEMBERPROPERTY function in Excel allows users to retrieve a specific property of a cube member from a cube data source. This function is useful for analyzing and manipulating data from multidimensional databases, such as online analytical processing (OLAP) cubes. By specifying the member and the desired property, the function retrieves information such as the member’s name, parent member, level, or unique identifier. This allows for more efficient and precise data analysis and reporting. The CUBEMEMBERPROPERTY function is a valuable tool for users working with complex data structures and can greatly enhance their data analysis capabilities.

The CUBEMEMBERPROPERTY function, one of the Cube functions in Excel, returns the value of a member property from a cube. Use it to validate that a member name exists within the cube, and to return the specified property for this member.

Syntax

CUBEMEMBERPROPERTY(connection, member_expression, property)

The CUBEMEMBERPROPERTY function syntax has the following arguments:

  • Connection    Required. A text string of the name of the connection to the cube.

  • Member_expression    Required. A text string of a multidimensional expression (MDX) of a member within the cube.

  • Property    Required. A text string of the name of the property returned or a reference to a cell that contains the name of the property.

Remarks

  • When the CUBEMEMBERPROPERTY function evaluates, it temporarily displays a “#GETTING_DATA…” message in the cell before all of the data is retrieved.

  • If the connection name is not a valid workbook connection stored in the workbook, CUBEMEMBERPROPERTY returns a #NAME? error value. If the Online Analytical Processing (OLAP) server is not running, not available, or returns an error message, CUBEMEMBERPROPERTY returns a #NAME? error value.

  • If the member_expression syntax is incorrect or if the member specified by member_expression doesn’t exist in the cube, CUBEMEMBERPROPERTY returns a #N/A error value.

  • CUBEMEMBERPROPERTY 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.)

  • CUBEMEMBERPROPERTY will not work against Excel Data Models that are edited in Power Pivot, since they are not multi-dimensional cubes.

Examples

=CUBEMEMBERPROPERTY(“Sales”,”[Time].[Fiscal].[2014]”,$A$3)

=CUBEMEMBERPROPERTY(“Sales”,”[Store].[MyFavoriteStore]”,”[Store].[Store Name].[Store Sqft]”)

See Also

Overview of formulas in Excel

How to avoid broken formulas

Find and correct errors in formulas

Excel keyboard shortcuts and function keys

Cube functions (reference)

Excel functions (alphabetical)

Excel functions (by category)

Cite this article

stats writer (2024). How can I use the CUBEMEMBERPROPERTY function in Excel to retrieve a specific property of a cube member in a cube data source?. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/how-can-i-use-the-cubememberproperty-function-in-excel-to-retrieve-a-specific-property-of-a-cube-member-in-a-cube-data-source/

stats writer. "How can I use the CUBEMEMBERPROPERTY function in Excel to retrieve a specific property of a cube member in a cube data source?." PSYCHOLOGICAL SCALES, 29 Jun. 2024, https://scales.arabpsychology.com/stats/how-can-i-use-the-cubememberproperty-function-in-excel-to-retrieve-a-specific-property-of-a-cube-member-in-a-cube-data-source/.

stats writer. "How can I use the CUBEMEMBERPROPERTY function in Excel to retrieve a specific property of a cube member in a cube data source?." PSYCHOLOGICAL SCALES, 2024. https://scales.arabpsychology.com/stats/how-can-i-use-the-cubememberproperty-function-in-excel-to-retrieve-a-specific-property-of-a-cube-member-in-a-cube-data-source/.

stats writer (2024) 'How can I use the CUBEMEMBERPROPERTY function in Excel to retrieve a specific property of a cube member in a cube data source?', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/how-can-i-use-the-cubememberproperty-function-in-excel-to-retrieve-a-specific-property-of-a-cube-member-in-a-cube-data-source/.

[1] stats writer, "How can I use the CUBEMEMBERPROPERTY function in Excel to retrieve a specific property of a cube member in a cube data source?," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, June, 2024.

stats writer. How can I use the CUBEMEMBERPROPERTY function in Excel to retrieve a specific property of a cube member in a cube data source?. PSYCHOLOGICAL SCALES. 2024;vol(issue):pages.

Download Post (.PDF)
Slide Up
x
PDF
Scroll to Top