# CUBEKPIMEMBER Function

> Return a KPI property such as a value or goal from an OLAP cube with CUBEKPIMEMBER in TX Sheet Control: arguments and the formula provider it requires.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Function
- **Path:** TX Sheet Control > API Reference > Formula Functions > CUBEKPIMEMBER Function
- **298 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/cubekpimember/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/cubekpimember/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/cubekpimember/llms-full.txt

---

Return a key performance indicator (KPI) property from an OLAP cube. `connection` is the name of the connection to the cube, `kpi_name` the name of the KPI, `kpi_property` the component of the KPI to return, such as its value or its goal, and `caption` an optional text shown in the cell. The function requires host-provided data or an Excel-specific object: TX Sheet Control has no built-in cube connection, so the application supplies the data through a formula provider. Without a provider, the function returns `#N/A`.

### Syntax

```text
CUBEKPIMEMBER(connection, kpi_name, kpi_property, caption)
```

Category: Cube. Minimum arguments: 3. Maximum arguments: 4.

> Important
>
> **Application Data or Provider Required.** Configure the documented provider rather than expecting automatic network or Excel-service access.

### Examples

```text
=CUBEKPIMEMBER("connection","kpi",1)
```

Without a formula provider, the formula returns `#N/A`.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

### See Also

- [Formulas](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/llms-full.txt)
- [Custom Functions and Formula Data](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/custom-functions/llms-full.txt)

---

## Nearby

- **Previous:** [CSCH Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/csch/llms-full.txt)
- **Next:** [CUBEMEMBER Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/cubemember/llms-full.txt)
