---
url: /process-functions/cube-dimensions.md
description: >-
  Returns the dimensions present in a cube within the specified model, this
  function returns a JSON string.
---

# cube.dimensions

Returns the dimensions present in a cube within the specified model, this function returns a JSON string.

```js
cube.dimensions(cube_name)
```

#### Parameters

* `cube_name` - Name of a cube.

#### Example

```js
let dimensions = cube.dimensions("General Ledger");
```
