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

# queryDateDatasetsForMeasure()

- Package: [@gooddata/sdk-ui-dashboard](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/index.md)
- Kind: function
- Stability: alpha
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui-dashboard/src/model/queries/kpis.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 action through which you can query dashboard component for information about the date data sets that are applicable for filtering of the provided measure. measures are typically used to obtain value to render on KPIs.

**Signature:**

```typescript
export declare function queryDateDatasetsForMeasure(measureRef: ObjRef, correlationId?: string): IQueryMeasureDateDatasets;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| measureRef | [ObjRef](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.objref/index.md) | reference to measure |
| correlationId | string | _(Optional)_ specify correlation id to use for this command. this will be included in all events that will be emitted during the command processing |

**Returns:**

[IQueryMeasureDateDatasets](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iquerymeasuredatedatasets/index.md)
