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

# IDateFilterConfigState

- 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/store/tabs/dateFilterConfig/dateFilterConfigState.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).
> 

**Signature:**

```typescript
export interface IDateFilterConfigState 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [dateFilterConfig?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idatefilterconfigstate/index.md#idatefilterconfigstatedatefilterconfig) |  | [IDashboardDateFilterConfig](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.idashboarddatefilterconfig/index.md) | **_(BETA)_** _(Optional)_ Dashboard-level overrides of the workspace-level date filter config. |
| [dateFilterConfigValidationWarnings?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idatefilterconfigstate/index.md#idatefilterconfigstatedatefilterconfigvalidationwarnings) |  | [DateFilterValidationResult](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.datefiltervalidationresult/index.md)[] | **_(BETA)_** _(Optional)_ Warnings result of the date filter validation if any. |
| [effectiveDateFilterConfig?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idatefilterconfigstate/index.md#idatefilterconfigstateeffectivedatefilterconfig) |  | [IDateFilterConfig](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.idatefilterconfig/index.md) | **_(BETA)_** _(Optional)_ The effective date filter config to use for the dashboard. This is obtained by merging the workspace-level config with the dashboard-level overrides. If the merged result is valid, then it is used for effective config. If the merged result is invalid, then the workspace-level config is used as fallback. |
| [isUsingDashboardOverrides?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idatefilterconfigstate/index.md#idatefilterconfigstateisusingdashboardoverrides) |  | boolean | **_(BETA)_** _(Optional)_ Indicates whether the effectiveDateFilterConfig is actually reflecting the dashboard-level config overrides or it is just fallback to the workspace-level config. This is only true if the dashboard-level overrides are present AND their merge with workspace-level config resulted in valid config. |

## Property details

### IDateFilterConfigState.dateFilterConfig

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

Dashboard-level overrides of the workspace-level date filter config.

**Signature:**

```typescript
dateFilterConfig?: IDashboardDateFilterConfig;
```

### IDateFilterConfigState.dateFilterConfigValidationWarnings

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

Warnings result of the date filter validation if any.

**Signature:**

```typescript
dateFilterConfigValidationWarnings?: DateFilterValidationResult[];
```

#### Remarks

When loading a date filter configuration, it can have some issues that we surface (e.g. having zero visible items). These are not blocking though, if any issue is encountered, the config falls back to something sane. The reason for storing this here is mainly for us to be able to show a warning when some issues are detected.

### IDateFilterConfigState.effectiveDateFilterConfig

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

The effective date filter config to use for the dashboard. This is obtained by merging the workspace-level config with the dashboard-level overrides. If the merged result is valid, then it is used for effective config. If the merged result is invalid, then the workspace-level config is used as fallback.

**Signature:**

```typescript
effectiveDateFilterConfig?: IDateFilterConfig;
```

### IDateFilterConfigState.isUsingDashboardOverrides

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

Indicates whether the effectiveDateFilterConfig is actually reflecting the dashboard-level config overrides or it is just fallback to the workspace-level config.

This is only true if the dashboard-level overrides are present AND their merge with workspace-level config resulted in valid config.

**Signature:**

```typescript
isUsingDashboardOverrides?: boolean;
```
