---
url: /process-functions/element-create.md
description: Note that this has been deprecated in favour of
---

# element.create&#x20;

:::danger
Note that this has been deprecated in favour of

* [hierarchy.group](/process-functions/hierarchy-group) (for child elements)
* [hierarchy.structure](/process-functions/hierarchy-structure) (for parent elements).
  :::

Creates an element within a dimension under no hierarchy.

```js
element.create(dimension, name, type);
```

#### Parameters

* `dimension` - The dimension in which to create an element.
* `name` - The identifier of the element created.
* `type` - Either `N` or `S`, depending on the data type held against it. However `S` is only ever used in measures dimensions.

#### Example

```js
element.create("Account", "600010", "N");
```
