# SETMEASURETITLE

Set a custom title for a measure header.

### Syntax

```javascript
SETMEASURETITLE(measure, value)
```

### Arguments

measure - Measure that requires a title change.

value - New title to rename the measure.

### Example

```
SETMEASURETITLE([2024 Actuals], "PY Sales")
//Renames the 2024 Actuals measure to PY Sales
```

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FBIAcv7zLT7DXzRDTjGln%2Fimage.png?alt=media&#x26;token=319b22ed-af2c-4a95-bf7e-400cd06695ba" alt=""><figcaption><p>Script to set custom measure headers</p></figcaption></figure>

Changing the measure header with scripts:

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FjIwUepiEUFsdTgaijMCy%2FUntitled%20Project.gif?alt=media&#x26;token=9d8438a3-b7db-428b-92b9-61d1eb80756a" alt=""><figcaption><p>SETMEASURETITLE script</p></figcaption></figure>
