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

# DashboardFilterContextChanged

- 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/events/filters.ts

This event is emitted after \_any\_ change to dashboard filters (be it date or attribute filter). The event describes the new state of the entire filter context.

**Signature:**

```typescript
export type DashboardFilterContextChanged = IDashboardEvent & {
    readonly type: "GDC.DASH/EVT.FILTER_CONTEXT.CHANGED";
    readonly payload: DashboardFilterContextChangedPayload;
};
```
**References:** [IDashboardEvent](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboardevent/index.md), [DashboardFilterContextChangedPayload](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.dashboardfiltercontextchangedpayload/index.md)

## Remarks

This event is emitted as convenience - more granular events describe all the possible changes to the dashboard filters and can be used to even source the state of filter context.

See also [filterContextToDashboardFiltersByWidget()](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.filtercontexttodashboardfiltersbywidget/index.md) and [filterContextToDashboardFiltersByDateDataSet()](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.filtercontexttodashboardfiltersbydatedataset/index.md) convertors – those allow you to convert the `filterContext` in the event payload to array of [IFilter](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ifilter/index.md) instances you can use with visualizations, filter UI components and so on.
