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

# selectFilterContextDraggableFilters

- 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 [selectFilterContextDraggableFilterItems](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.selectfiltercontextdraggablefilteritems/index.md) to include all attribute filter types.
> 

This selector returns dashboard's filter context draggable filters (element-based attribute filters and date filters).

**Signature:**

```typescript
selectFilterContextDraggableFilters: DashboardSelector<Array<IDashboardDateFilter | 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 [selectFilterContextDraggableFilterItems](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.selectfiltercontextdraggablefilteritems/index.md) to get all draggable filters.
