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

# dashboardFilterObjRef()

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

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Returns objRef of the dashboard filter.

For attribute filters (including text mode filters), this will be reference to the display form. For date filters, it's reference to the data set, or undefined if it's the default date filter. For measure value filters, it's reference to the metric.

**Signature:**

```typescript
export declare function dashboardFilterObjRef(filter: FilterContextItem): ObjRef | undefined;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| filter | [FilterContextItem](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.filtercontextitem/index.md) |  |

**Returns:**

[ObjRef](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.objref/index.md) &#124; undefined
