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

# IFilterOpEnableDateFilter

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

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

This filter operation enables date filtering for the widget.

A ref to date data set must be specified as it is passed down to widget content. Insights or KPIs can be typically date-filtered using different date data sets and so this selection is essential.

**Signature:**

```typescript
export interface IFilterOpEnableDateFilter extends IFilterOp 
```
**Extends:** [IFilterOp](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ifilterop/index.md)

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [dateDataset](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ifilteropenabledatefilter/index.md#ifilteropenabledatefilterdatedataset) |  | [ObjRef](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.objref/index.md) \| "default" | **_(BETA)_** Ref of date data set to use in date filters applied on the content of the widget. If passed "default", the default date dataset will be resolved and used. |
| [type](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ifilteropenabledatefilter/index.md#ifilteropenabledatefiltertype) |  | "enableDateFilter" | **_(BETA)_** |

## Property details

### IFilterOpEnableDateFilter.dateDataset

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Ref of date data set to use in date filters applied on the content of the widget. If passed "default", the default date dataset will be resolved and used.

**Signature:**

```typescript
dateDataset: ObjRef | "default";
```

### IFilterOpEnableDateFilter.type

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

**Signature:**

```typescript
type: "enableDateFilter";
```
