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

# newDashboardParameterizedDateFilter()

- 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.71/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).
> 

Creates a new dashboard date filter that takes its period from a date range parameter.

**Signature:**

```typescript
export declare function newDashboardParameterizedDateFilter(parameter: ObjRef | Identifier, options?: IDashboardParameterizedDateFilterOptions): IDashboardParameterizedDateFilter;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| parameter | [ObjRef](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.objref/index.md) \| [Identifier](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.identifier/index.md) | ref or identifier of the date range parameter that holds the period |
| options | [IDashboardParameterizedDateFilterOptions](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.idashboardparameterizeddatefilteroptions/index.md) | _(Optional)_ date data set, local identifier and empty values handling of the filter |

**Returns:**

[IDashboardParameterizedDateFilter](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.idashboardparameterizeddatefilter/index.md)
