Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How to calculate average last N values in a table in Excel
  • How to sum a total in multiple Excel tables
  • How to create running total in an Excel Table
  • How to conditionally sum numeric data in an Excel table using SUMIFS
  • Calculate Conditional Percentile ‘IF’ in table in Excel

References

  • Count unique text values with criteria
  • How to get address of named range in Excel
  • Find Closest Match in Excel Using INDEX, MATCH, ABS and MIN functions
  • Excel Advanced Lookup using Index and Match Functions
  • How to use Excel MATCH Function

Data Validations

  • Excel Data validation unique values only
  • Excel Data validation allow weekday only
  • Excel Data validation date in specific year
  • Prevent invalid data entering in specific cells
  • Excel Data validation date in next 30 days

CUBEKPIMEMBER function: Description, Usage, Syntax, Examples and Explanation

by

 What is CUBEKPIMEMBER function in Excel?

CUBEKPIMEMBER function is one of the Cube functions in Microsoft Excel which 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.

Note: The CUBEKPIMEMBER function is supported only when the workbook is connected to a Microsoft SQL Server 2005 Analysis Services or later data source.

Syntax of CUBEKPIMEMBER function

CUBEKPIMEMBER(connection, kpi_name, kpi_property, )

The CUBEKPIMEMBER function syntax has the following arguments:

  • Connection: A text string of the name of the connection to the cube.
  • Kpi_name: A text string of the name of the KPI in the cube.
  • Kpi_property: The KPI component returned and can be one of the following:
Integer Enumerated constant Description
1 KPIValue The actual value
2 KPIGoal A target value
3 KPIStatus The state of the KPI at a specific moment in time
4 KPITrend A measure of the value over time
5 KPIWeight A relative importance assigned to the KPI
6 KPICurrentTimeMember A temporal context for the KPI
  • If you specify KPIValue for kpi_property, only kpi_name is displayed in the cell.
  • Caption    Optional. An alternative text string that is displayed in the cell instead of kpi_name and kpi_property.

Explanation of CUBEKPIMEMBER function

  • 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.)

Examples of CUBEKPIMEMBER function

=CUBEKPIMEMBER(“Sales”,”MySalesKPI”,1)

=CUBEKPIMEMBER(“Sales”,”MySalesKPI”, KPIGoal,”Sales KPI Goal”)

Post navigation

Previous Post:

How to calculate project complete percentage in Excel

Next Post:

Popularly Used Excel Functions and their examples

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • SWITCH function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel XOR Function
  • OR function: Description, Usage, Syntax, Examples and Explanation
  • Return blank if in Excel
  • How to use IFS function in Excel

Date Time

  • MONTH function: Description, Usage, Syntax, Examples and Explanation
  • Get days between dates in Excel
  • Sum race time splits in Excel
  • Get month from date in Excel
  • Calculate years between dates in Excel

Grouping

  • Map text to numbers in Excel
  • Calculate conditional mode with criteria in Excel
  • Group numbers with VLOOKUP in Excel
  • How to randomly assign people to groups in Excel
  • Group times into 3 hour buckets in Excel

General

  • Basic text sort formula in Excel
  • Delete Blank Rows at Once in Excel
  • Using Existing Templates in Excel
  • Check if multiple cells have same value with case sensitive in Excel
  • How to get Excel workbook path only
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning