# 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://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/sRHFliDyKXG0UJ4L5Xjg/image.png" alt=""><figcaption><p>Set filter</p></figcaption></figure>

### CLEARFILTER

### Syntax

```javascript
CLEARFILTER()
```

### Example

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

<figure><img src="https://content.gitbook.com/content/sB9HAei8v4FfKkH9M4gw/blobs/nAQBJmzCwqdlM2YF5MaT/image.png" alt=""><figcaption><p>Clear filter</p></figcaption></figure>
