Cube Excel 2007 ◉ 1 views

=CUBEVALUE()

Returns a computed value from the data model or cube

=CUBEVALUE(connection, [member_expression1], [member_expression2], ...)
Hover argument names in the table for details.
Output typeMixed
Popularity35 / 100
VolatileNo
Dynamic ArrayNo
📥 Download sample .xlsx — Coming soon ▦ Try in Playground Dedicated file for this function — safe & lightweight · sample data + live formulas
Share:

⬇ Download Sample Workbook

A dedicated .xlsx for =CUBEVALUE() with Persian sample data & live formulas — open in Excel and practice.

  • Sheet “Sample” — data table + formula in place
  • Sheet “Guide” — syntax, arguments & tips from this page
  • Instant & secure (token + rate limit)
📥 Download CUBEVALUE.xlsx — Coming soon ~ 8–12 KB · No macros

⇪ Share

Send this function to friends

🧠 🧠 Quiz this function

%d questions — syntax, example & errors — test yourself!

◧ Arguments

ArgumentTypeRequiredDescription
connection Text Required Name of the connection to the data model or cube
member_expression1 Text Optional An expression or cell that identifies a member or measure
member_expression2 Text Optional Further filters

▣ Examples

Example 1 =CUBEVALUE("ThisWorkbookDataModel", "[Measures].[Total Sales]")
Example 2 =CUBEVALUE("ThisWorkbookDataModel", "[Measures].[Total Sales]", "[Product].[Category].&[Bikes]")

✦ Tips

  • The easiest way to build these formulas is to convert a PivotTable to formulas: on the PivotTable Analyze tab, in the OLAP Tools menu, choose Convert to Formulas.
  • For the data model inside the file, the connection name is ThisWorkbookDataModel.
  • While data is being read from the model, the #GETTING_DATA message appears in the cell.

⚠ Common Errors

#NAME? The connection name is wrong, or the server and data model are not available
Fix: Check the connection name in the Connections section

💬 Comments & Q&A 0 approved

🔒 Your comment will be published after review.

Share your thoughts — visible after admin approval

No comments yet — be the first!

✍️ Add comment / question

captcha
🔒 Your comment will be published after review.