Home › Functions › Cube › CUBEVALUE
fx
CUBEVALUE
Cube  ·  Since: Excel 2003  ·  9 languages

Returns an aggregated value from the cube.

🌐 Translations

English CUBEVALUE
Deutsch CUBEWERT
Français VALEURCUBE
Español VALORCUBO
Italiano VALORE.CUBO
Português VALORCUBO
Nederlands KUBUSWAARDE
Polski WARTOŚĆ.MODUŁU
Русский КУБЗНАЧЕНИЕ

📦 Availability

Excel versionAvailable
Excel 2007 ✓
Excel 2013 ✓
Excel 2019 ✓
Excel 2021 ✓
Microsoft 365 ✓
Translate a formula with this function
fx EN
fx DE

⌨ Syntax

CUBEVALUE(connection,[member_expression1],[member_expression2],…)

Arguments

connection (required) — A text string of the name of the connection to the cube.
member_expression (optional) — A text string of a multidimensional expression (MDX) that evaluates to a member or tuple within the cube. Alternatively, member_expression can be a set defined with the CUBESET function. Use member_expression as a slicer to define the portion of the cube for which the aggregated value is returned. If no measure is specified in member_expression, the default measure for that cube is used.

▶ Examples

=CUBEVALUE("Sales",$B$7,D$12,$A23)
=CUBEVALUE($A$1,"[Measures].[Profit]",D$12,$A23)
=CUBEVALUE("Sales","[Measures].[Profit]","[Time].[2004]","[All Product].[Beverages]")

Related functions

Copied to clipboard