---
url: /process-functions/cube-dimensions.md
description: Returns the dimensions in a cube.
---

# cube.dimensions

Returns the dimensions in a cube.

```js
cube.dimensions(cubeName)
```

## Parameters

| Parameter | Type | Description |
|---|---|---|
| `cubeName` | `string` | The cube's name. |

## Returns

The cube's dimensions as a JSON string. Read it with `JSON.parse()`.

## Examples

```js
const dimensions = JSON.parse(cube.dimensions("General Ledger"));
```
