---
url: /process-functions/alias-set.md
description: Updates the alias of a given element within the dimension.
---

# alias.set

Updates the alias of a given element within the dimension.

```js
alias.set(dimension, aliasName, element, value) 
```

#### Parameters

* `dimension` - The dimension within which to update the specified alias.
* `aliasName` - The identifier of the alias to be updated.
* `element` - The element to which the alias will be set.
* `value` - The alternate name to be saved as the elements alias.

#### Example

```js
alias.set("Account", "No - Name", "600000", "600000 - Revenue");
```
