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

# IDashboardDateFilterConfig

- Package: [@gooddata/sdk-model](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/index.md)
- Kind: interface
- Stability: alpha
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-model/src/dashboard/dashboard.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).
> 

Extended date filter config

**Signature:**

```typescript
export interface IDashboardDateFilterConfig 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [addPresets?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.idashboarddatefilterconfig/index.md#idashboarddatefilterconfigaddpresets) |  | [IDashboardDateFilterAddedPresets](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.idashboarddatefilteraddedpresets/index.md) | **_(ALPHA)_** _(Optional)_ Date filter presets to add to the date filter dropdown specific for the current dashboard |
| [filterName](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.idashboarddatefilterconfig/index.md#idashboarddatefilterconfigfiltername) |  | string | **_(ALPHA)_** Customized name of the date filter to display |
| [hideGranularities?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.idashboarddatefilterconfig/index.md#idashboarddatefilterconfighidegranularities) |  | [DateFilterGranularity](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.datefiltergranularity/index.md)[] | **_(ALPHA)_** _(Optional)_ Date filter granularities to hide in the date filter dropdown for the current dashboard |
| [hideOptions?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.idashboarddatefilterconfig/index.md#idashboarddatefilterconfighideoptions) |  | [Identifier](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.identifier/index.md)[] | **_(ALPHA)_** _(Optional)_ Local identifiers of the date filter options to hide for the current dashboard |
| [mode](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.idashboarddatefilterconfig/index.md#idashboarddatefilterconfigmode) |  | [DashboardDateFilterConfigMode](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.dashboarddatefilterconfigmode/index.md) | **_(ALPHA)_** Extended date filter config mode |

## Property details

### IDashboardDateFilterConfig.addPresets

> **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).
> 

Date filter presets to add to the date filter dropdown specific for the current dashboard

**Signature:**

```typescript
addPresets?: IDashboardDateFilterAddedPresets;
```

### IDashboardDateFilterConfig.filterName

> **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).
> 

Customized name of the date filter to display

**Signature:**

```typescript
filterName: string;
```

### IDashboardDateFilterConfig.hideGranularities

> **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).
> 

Date filter granularities to hide in the date filter dropdown for the current dashboard

**Signature:**

```typescript
hideGranularities?: DateFilterGranularity[];
```

### IDashboardDateFilterConfig.hideOptions

> **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).
> 

Local identifiers of the date filter options to hide for the current dashboard

**Signature:**

```typescript
hideOptions?: Identifier[];
```

### IDashboardDateFilterConfig.mode

> **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).
> 

Extended date filter config mode

**Signature:**

```typescript
mode: DashboardDateFilterConfigMode;
```
