CUBEMEMBERPROPERTY function
the value of a member property in the cube. Use to validate that a member name exists within the cube and to return the specified property for this member.
Cube · Guided Excel example
Where can you use it?
Data model and business intelligence teams. When checking measures, members and sets in a cube report, adapt the model and connection names to your workbook.
Scenario in the workbook
Retrieve a named member property. Replace column A with the real cube connection name. Match the sample MDX identifiers to your data model.
A worked example from the workbook
| Row | A | B | C |
|---|---|---|---|
| 6 | Connection | Member or set | Selection |
| 7 | SalesCube | [Measures].[Sales] | MEMBER_CAPTION |
| 8 | SalesCube | [Measures].[Sales] | MEMBER_UNIQUE_NAME |
| 9 | SalesCube | [Measures].[Sales] | MEMBER_CAPTION |
=CUBEMEMBERPROPERTY(A7,B7,C7)Illustrative outputDepends on model
See the inputs and instructions for all 3 examplesWorked examples
Retrieve a named member property. Replace column A with the real cube connection name. Match the sample MDX identifiers to your data model.
Column F provides expressions as text. Satisfy the stated requirements, then paste into an empty Excel cell and compare with column G. The result was not verified in desktop Excel here.
| Row | A | B | C |
|---|---|---|---|
| 6 | Connection | Member or set | Selection |
| 7 | SalesCube | [Measures].[Sales] | MEMBER_CAPTION |
| 8 | SalesCube | [Measures].[Sales] | MEMBER_UNIQUE_NAME |
| 9 | SalesCube | [Measures].[Sales] | MEMBER_CAPTION |
| Trial | Expression | Sample output |
|---|---|---|
| Record 1 | =CUBEMEMBERPROPERTY(A7,B7,C7) |
Depends on model |
| Record 2 | =CUBEMEMBERPROPERTY(A8,B8,C8) |
Depends on model |
| Record 3 | =CUBEMEMBERPROPERTY(A9,B9,C9) |
Depends on model |