---
url: /process-functions/dimension-hierarchies.md
description: >-
  This function is used to retrieve the hierarchies in a dimension, returns a
  JSON string object.
---

# dimension.hierarchies

This function is used to retrieve the hierarchies in a dimension, returns a JSON string object.

```js
dimension.hierarchies(dimension_name)
```

#### Parameters

* `dimension_name` - Name of a dimension.

#### Example

```js
let hierarchies = dimension.hierarchies("time");
```
