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

# ReplaceAttributeFilterItemSelection

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

Command for replacing an attribute filter item's selection.

**Signature:**

```typescript
export type ReplaceAttributeFilterItemSelection = IDashboardCommand & {
    readonly type: "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER_ITEM.REPLACE_SELECTION";
    readonly payload: ReplaceAttributeFilterItemSelectionPayload;
};
```
**References:** [IDashboardCommand](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboardcommand/index.md)

## Remarks

This command replaces the entire filter item in the filter context. It supports all attribute filter types including standard element-based, arbitrary text, and match text filters.
