> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# resetAttributeFilterSelection()

- Package: [@gooddata/sdk-ui-dashboard](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/index.md)
- Kind: function
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui-dashboard/src/model/commands/filters.ts

A convenience function that will create ChangeAttributeFilterSelection command that will select all elements of the dashboard attribute filter with the provided local id.

**Signature:**

```typescript
export declare function resetAttributeFilterSelection(filterLocalId: string, correlationId?: string): ChangeAttributeFilterSelection;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| filterLocalId | string | dashboard attribute filter's local id |
| correlationId | string | _(Optional)_ specify correlation id to use for this command. this will be included in all events that will be emitted during the command processing |

**Returns:**

[ChangeAttributeFilterSelection](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.changeattributefilterselection/index.md)

## Remarks

This is same as creating the ChangeAttributeFilterSelection command with empty elements and NOT\_IN selection type.
