# SETFILTER

You can enable or disable filters using this function. Note that the filter should already have been created to be able to refer to it in the function.

### Syntax

```javascript
SETFILTER(FILTER.FILTER_NAME)
```

### Arguments

FILTER\_NAME - The name of the filter to be enabled.

### Example

```
SETFILTER(FILTER.[Filter_Office_Tech]) #Applies the specified filter
```

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FoBeTxcrenKevoHYoHpYV%2Fimage.png?alt=media&#x26;token=3ffe416b-63a6-4a62-b013-f56c69f07ddb" alt=""><figcaption><p>Set filter</p></figcaption></figure>

### CLEARFILTER

### Syntax

```javascript
CLEARFILTER()
```

### Example

```
CLEARFILTER() #Clears any applied filters
```

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FiefLkVs309PtN1T8q7vi%2Fimage.png?alt=media&#x26;token=a136e954-e6c6-432f-8318-e2e4670e214c" alt=""><figcaption><p>Clear filter</p></figcaption></figure>
