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

# IDashboardKpiWidgetComparisonChanged

- 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/events/kpi.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).
> 

This event is emitted when dashboard's KPI Widget has its comparison type changed. The event includes the new definition of the KPI that has uses same measure as before however has new setup of the over-time comparison.

**Signature:**

```typescript
export interface IDashboardKpiWidgetComparisonChanged extends IDashboardEvent 
```
**Extends:** [IDashboardEvent](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboardevent/index.md)

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [payload](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboardkpiwidgetcomparisonchanged/index.md#idashboardkpiwidgetcomparisonchangedpayload) | `readonly` | [IDashboardKpiWidgetComparisonChangedPayload](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboardkpiwidgetcomparisonchangedpayload/index.md) | **_(BETA)_** |
| [type](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboardkpiwidgetcomparisonchanged/index.md#idashboardkpiwidgetcomparisonchangedtype) | `readonly` | "GDC.DASH/EVT.KPI\_WIDGET.COMPARISON\_CHANGED" | **_(BETA)_** |

## Property details

### IDashboardKpiWidgetComparisonChanged.payload

> **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
readonly payload: IDashboardKpiWidgetComparisonChangedPayload;
```

### IDashboardKpiWidgetComparisonChanged.type

> **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
readonly type: "GDC.DASH/EVT.KPI_WIDGET.COMPARISON_CHANGED";
```
