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

# IMeasureDescriptorItem

- Package: [@gooddata/sdk-model](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/index.md)
- Kind: interface
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-model/src/execution/results/index.ts

Measure descriptor object.

**Signature:**

```typescript
export interface IMeasureDescriptorItem 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [conditionalFormatting?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.imeasuredescriptoritem/index.md#imeasuredescriptoritemconditionalformatting) |  | [ISemanticConditionalFormatting](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.isemanticconditionalformatting/index.md) | **_(ALPHA)_** _(Optional)_ Semantic-layer conditional formatting authored on the underlying metric or fact object. |
| [format](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.imeasuredescriptoritem/index.md#imeasuredescriptoritemformat) |  | string | Measure format. |
| [identifier?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.imeasuredescriptoritem/index.md#imeasuredescriptoritemidentifier) |  | string | _(Optional)_ For persistent metrics or facts, this returns identifier of the object. Is empty for ad-hoc measures. |
| [localIdentifier](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.imeasuredescriptoritem/index.md#imeasuredescriptoritemlocalidentifier) |  | string |  |
| [name](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.imeasuredescriptoritem/index.md#imeasuredescriptoritemname) |  | string | Measure name. |
| [ref?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.imeasuredescriptoritem/index.md#imeasuredescriptoritemref) |  | [ObjRef](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.objref/index.md) | _(Optional)_ Opaque reference of the metric or fact object. |
| [uri?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.imeasuredescriptoritem/index.md#imeasuredescriptoritemuri) |  | string | _(Optional)_ For persistent metrics or facts, this returns URI of the object. Is empty for ad-hoc measures. |

## Property details

### IMeasureDescriptorItem.conditionalFormatting

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

Semantic-layer conditional formatting authored on the underlying metric or fact object.

**Signature:**

```typescript
conditionalFormatting?: ISemanticConditionalFormatting;
```

### IMeasureDescriptorItem.format

Measure format.

**Signature:**

```typescript
format: string;
```

#### Remarks

Backend must fill the name according to the following rules:

- If measure definition contained 'format', then the format from the definition MUST be used - Else if backend has a format for the measure in its records, then it MUST include that format - Otherwise the format must be defaulted

### IMeasureDescriptorItem.identifier

For persistent metrics or facts, this returns identifier of the object. Is empty for ad-hoc measures.

**Signature:**

```typescript
identifier?: string;
```

### IMeasureDescriptorItem.localIdentifier

**Signature:**

```typescript
localIdentifier: string;
```

### IMeasureDescriptorItem.name

Measure name.

**Signature:**

```typescript
name: string;
```

#### Remarks

Backend must fill the name according to the following rules:

- If measure definition contained 'title', then name MUST equal to 'title', - Else if measure definition contained 'alias', then name MUST equal to 'alias', - Else if the backend has a name of the measure in its records, then it MUST include that name - Otherwise the name must default to value of localIdentifier

### IMeasureDescriptorItem.ref

Opaque reference of the metric or fact object.

**Signature:**

```typescript
ref?: ObjRef;
```

### IMeasureDescriptorItem.uri

For persistent metrics or facts, this returns URI of the object. Is empty for ad-hoc measures.

**Signature:**

```typescript
uri?: string;
```
