---
url: /process-functions/element-principal.md
description: Returns the name of an element from the alias.
---

# element.principal

Returns the name of an element from the alias.

```js
element.principal(dimension, alias)
```

#### Parameters

* `dimension` - The dimension in which to identify the element.
* `alias` - The alias of the element to identify.

#### Example

```js
element.principal("Account", "Net Profit");
```
