The CUBEKPIMEMBER function in Excel is a powerful tool used to return the name, properties, and measures of key performance indicators (KPIs) from a data cube. Designed to assist users in analyzing performance metrics, this function provides valuable insights into crucial business statistics, making it essential for effective decision-making and performance tracking.
Syntax
CUBEKPIMEMBER(connection, kpi_name)
- connection: A string that specifies the data connection for the cube from which the KPI will be retrieved.
- kpi_name: A string representing the unique name of the KPI you wish to access.
Example #1
=CUBEKPIMEMBER("SalesData", "MonthlyGrossProfit")
Using this function retrieves the KPI for monthly gross profit from the specified connection. Result: $50,000.
Example #2
=CUBEKPIMEMBER("HRData", "QuarterlyEmployeeTurnover")
This function queries the quarterly employee turnover KPI. Result: 5% turnover rate.
Example #3
=CUBEKPIMEMBER("InventoryData", "StockAvailability")
This retrieves the stock availability KPI. Result: 1,200 units available.
Error handling
- NAME?: This error occurs if the specified connection or KPI name is incorrect or not recognized.
- VALUE!: Indicates that the function parameters are invalid or inappropriate for the context.
- REF!: Appears if the connection or KPI name references an invalid location or has been deleted.