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

# IDashboardAttributeFilterByDate

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

Dependent date filter of an attribute filter of the filter context

**Signature:**

```typescript
export interface IDashboardAttributeFilterByDate 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [dataSet?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.idashboardattributefilterbydate/index.md#idashboardattributefilterbydatedataset) |  | [ObjRef](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.objref/index.md) | **_(BETA)_** _(Optional)_ Target date dimension (date dataset) the dependency applies through. |
| [filterLocalIdentifier](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.idashboardattributefilterbydate/index.md#idashboardattributefilterbydatefilterlocalidentifier) |  | string | **_(BETA)_** Local identifier of the date filter |
| [isCommonDate](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.idashboardattributefilterbydate/index.md#idashboardattributefilterbydateiscommondate) |  | boolean | **_(BETA)_** To distinguish between different types of date filters (common, specific) |

## Property details

### IDashboardAttributeFilterByDate.dataSet

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

Target date dimension (date dataset) the dependency applies through.

**Signature:**

```typescript
dataSet?: ObjRef;
```

#### Remarks

Only meaningful when [IDashboardAttributeFilterByDate.isCommonDate](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.idashboardattributefilterbydate/index.md#idashboardattributefilterbydateiscommondate) is true: the common date filter has no dimension of its own, so this carries the dimension the common date range should be applied through, while [IDashboardAttributeFilterByDate.filterLocalIdentifier](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.idashboardattributefilterbydate/index.md#idashboardattributefilterbydatefilterlocalidentifier) references the common date filter by its own localIdentifier. For specific (non-common) date filters the dimension is derived from the referenced filter, so this is redundant and left unset. Absent on legacy records, where the dataset identifier was stored in `filterLocalIdentifier` instead.

### IDashboardAttributeFilterByDate.filterLocalIdentifier

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

Local identifier of the date filter

**Signature:**

```typescript
filterLocalIdentifier: string;
```

#### Remarks

Historically, this can also be filled by a date dataset identifier (legacy format), so when matching, both forms should be considered.

### IDashboardAttributeFilterByDate.isCommonDate

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

To distinguish between different types of date filters (common, specific)

**Signature:**

```typescript
isCommonDate: boolean;
```
