---
url: /process-functions/cube-get.md
description: Returns the value at an intersection of a cube.
---

# cube.get

Returns the value at an intersection of a cube.

```js
cube.get(cubeName, ...elements)
```

## Parameters

| Parameter | Type | Description |
|---|---|---|
| `cubeName` | `string` | The cube's name. |
| `elements` | `string` | One element per dimension, in the cube's dimension order. |

## Returns

The cell's value, or `null` when the cell is empty. Returns `"Error: Cube not found."` when the cube can't be found.

## Examples

```js
const value = cube.get("General Ledger", "Actual", "2014", "Total Revenue", "All Departments", "All Projects", "Amount");
```
