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

# IDashboardKpiWidgetComparisonChangedPayload

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

Payload of the [IDashboardKpiWidgetComparisonChanged](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboardkpiwidgetcomparisonchanged/index.md) event.

**Signature:**

```typescript
export interface IDashboardKpiWidgetComparisonChangedPayload 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [kpi](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboardkpiwidgetcomparisonchangedpayload/index.md#idashboardkpiwidgetcomparisonchangedpayloadkpi) | `readonly` | [IKpi](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ikpi/index.md) | **_(BETA)_** New setup of KPI. Includes the measure used to calculate KPI and the comparison settings that are in effect. Note: the comparison may be 'none' - meaning |
| [ref](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboardkpiwidgetcomparisonchangedpayload/index.md#idashboardkpiwidgetcomparisonchangedpayloadref) | `readonly` | [ObjRef](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.objref/index.md) | **_(BETA)_** Reference to changed KPI Widget. |

## Property details

### IDashboardKpiWidgetComparisonChangedPayload.kpi

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

New setup of KPI. Includes the measure used to calculate KPI and the comparison settings that are in effect.

Note: the comparison may be 'none' - meaning

**Signature:**

```typescript
readonly kpi: IKpi;
```

### IDashboardKpiWidgetComparisonChangedPayload.ref

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

Reference to changed KPI Widget.

**Signature:**

```typescript
readonly ref: ObjRef;
```
