CUBEVALUE Function in Excel: Numbers Straight From the Data Model

⏱ 1 min readUpdated 28 September 2026

LookupLevel: ExpertAvailable in: Excel 2007+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. Related functions

CUBEVALUE pulls a measure from the Power Pivot Data Model into any cell, so you can build free-form reports instead of being stuck with a pivot table layout.

Syntax

=CUBEVALUE(connection, member_expression1, ...)
Argument What it means
connection “ThisWorkbookDataModel” for Power Pivot.

Examples

Example 1

=CUBEVALUE("ThisWorkbookDataModel", "[Measures].[Revenue]", "[Calendar].[FY].&[FY24]")

FY24 revenue in a single cell.

💡 Build a pivot table, then PivotTable Analyze › OLAP Tools › Convert to Formulas — Excel writes the CUBE formulas for you.

CUBEMEMBER · GETPIVOTDATA

📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free · AI can be wrong