Cube Excel 2007 ◉ 20 views

=CUBEKPIMEMBER()

Returns a key performance indicator (KPI) property and displays the KPI name in the cell. A KPI is a quantifiable measurement, such as monthly gross profit or quarterly employee turnover, that is used to monitor an organization's performance.

Applies To: Excel for Microsoft 365Excel for Microsoft 365 for MacExcel 2024Excel 2024 for MacExcel 2021Excel 2021 for MacExcel 2019Excel 2016Excel for iPadExcel Web AppExcel for iPhoneExcel for Android tabletsExcel for Android phones
=CUBEKPIMEMBER(connection, kpi_name, kpi_property, [caption])
Hover argument names in the table for details.
Output typeMixed
Popularity8 / 100
VolatileNo
Dynamic ArrayNo
Download sample .xlsx ▦ Try in Playground Dedicated file for this function — safe & lightweight · sample data + live formulas
Share:

⬇ Download Sample Workbook

A dedicated .xlsx for =CUBEKPIMEMBER() 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 CUBEKPIMEMBER.xlsx ~ 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 A text string of the name of the connection to the cube.
kpi_name Text Required A text string of the name of the KPI in the cube.
kpi_property Number Required The KPI component returned and can be one of the following:
if Number Optional you specify KPIValue for kpi_property, only kpi_name is displayed in the cell.
caption Text Optional An alternative text string that is displayed in the cell instead of kpi_name and kpi_property.

▣ Examples

Example 1 =CUBEKPIMEMBER("Sales","MySalesKPI",1)
Example 2 =CUBEKPIMEMBER("Sales","MySalesKPI", KPIGoal,"Sales KPI Goal")

§ Remarks

  • When the CUBEKPIMEMBER function evaluates, it temporarily displays a "#GETTING_DATA…" message in the cell before all of the data is retrieved.
  • To use the KPI in a calculation, specify the CUBEKPIMEMBER function as a member_expression argument in the CUBEVALUE function.
  • If the connection name is not a valid workbook connection that is stored in the workbook, CUBEKPIMEMBER returns a #NAME? error value. If the Online Analytical Processing (OLAP) server is not running, not available, or returns an error message, CUBEKPIMEMBER returns a #NAME? error value.
  • CUBEKPIMEMBER returns a #N/A error value when kpi_name or kpi_property is invalid.
  • CUBEKPIMEMBER may return a #N/A error value if you reference a session-based object, such as a calculated member or named set, in a PivotTable when sharing a connection, and that PivotTable is deleted or you convert the PivotTable to formulas. (On the Options tab, in the Tools group, click OLAP Tools, and then click Convert to Formulas.)

✦ Tips

  • When the CUBEKPIMEMBER function evaluates, it temporarily displays a "#GETTING_DATA…" message in the cell before all of the data is retrieved.
  • To use the KPI in a calculation, specify the CUBEKPIMEMBER function as a member_expression argument in the CUBEVALUE function.

⚠ Common Errors

#NAME? If the connection name is not a valid workbook connection that is stored in the workbook, CUBEKPIMEMBER returns a #NAME? error value. If the Online Analytical Processing (OLAP) server is not running, not available, or returns an error message, CUBEKPIMEMBER returns a #NAME? error value.
Fix: Check the connection name in the Connections section
#N/A CUBEKPIMEMBER returns a #N/A error value when kpi_name or kpi_property is invalid. CUBEKPIMEMBER may return a #N/A error value if you reference a session-based object, such as a calculated member or named set, in a PivotTable when sharing a connection, and that PivotTable is deleted or you convert the PivotTable to formulas. (On the Options tab, in the Tools group, click OLAP Tools, and then click Convert to Formulas.)
Fix: نام KPI و ویژگی آن را بررسی کنید و در صورت اشتراک اتصال، از ارجاع به اعضای محاسبه‌شده مبتنی بر جلسه خودداری کنید.

💬 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.