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

# selectFilterContextAttributeFilters

- Package: [@gooddata/sdk-ui-dashboard](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/index.md)
- Kind: variable
- Deprecated
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui-dashboard/src/model/store/tabs/filterContext/filterContextSelectors.ts

> Warning: This API is now obsolete.
> 
> Use [selectFilterContextAttributeFilterItems](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.selectfiltercontextattributefilteritems/index.md) to include all attribute filter types.
> 

This selector returns dashboard's applied filter context attribute filters with element-based selection only.

**Signature:**

```typescript
selectFilterContextAttributeFilters: DashboardSelector<IDashboardAttributeFilter[]>
```

## Remarks

It is expected that the selector is called only after the filter context state is correctly initialized. Invocations before initialization lead to invariant errors.

Note: This selector does not include arbitrary or match (text) attribute filters. Use [selectFilterContextAttributeFilterItems](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.selectfiltercontextattributefilteritems/index.md) to get all attribute-based filters.
