CUBEVALUE function
an aggregated value from a cube.
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 the measure at the intersection with a dimension member. 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] | [Region].[North] |
| 8 | SalesCube | [Measures].[Sales] | [Region].[South] |
| 9 | SalesCube | [Measures].[Sales] | [Region].[East] |
=CUBEVALUE(A7,B7,C7)Illustrative outputDepends on model
See the inputs and instructions for all 3 examplesWorked examples
Retrieve the measure at the intersection with a dimension member. 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] | [Region].[North] |
| 8 | SalesCube | [Measures].[Sales] | [Region].[South] |
| 9 | SalesCube | [Measures].[Sales] | [Region].[East] |
| Trial | Expression | Sample output |
|---|---|---|
| Record 1 | =CUBEVALUE(A7,B7,C7) |
Depends on model |
| Record 2 | =CUBEVALUE(A8,B8,C8) |
Depends on model |
| Record 3 | =CUBEVALUE(A9,B9,C9) |
Depends on model |