# SETSEMANTICFORMATTING

Enable semantic formatting using scripts to highlight positive, negative, and neutral values. Report viewers can enable or disable semantic formatting without requiring access to display settings.

### Syntax

```javascript
SETSEMANTICFORMATTING(value)
```

### Arguments

value - Set to TRUE to enable semantic formatting.

### Example

```
SETSEMANTICFORMATTING(TRUE)
//Enables semantic formatting
```

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FoIjz0jsE15xCCJhEJ0ob%2Fimage.png?alt=media&#x26;token=6da591c2-d418-4c8a-9ae3-e7579b2c4b58" alt=""><figcaption><p>Enabling semantic formatting with scripts</p></figcaption></figure>

Using scripts to control semantic formatting:

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2F4twJGfSHVTlbdUvj5apN%2FUntitled%20Project.gif?alt=media&#x26;token=c07ef011-30ce-44e2-8c42-7132d6dc3138" alt=""><figcaption><p>Variable buttons to enable and disable semantic formatting</p></figcaption></figure>
