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

# IComputedAttributeMetadataObjectBase

- 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/ldm/metadata/computedAttribute/index.ts

**Signature:**

```typescript
export interface IComputedAttributeMetadataObjectBase 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [dataType?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.icomputedattributemetadataobjectbase/index.md#icomputedattributemetadataobjectbasedatatype) |  | [ComputedAttributeDataType](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.computedattributedatatype/index.md) | _(Optional)_ Data type of the computed values. |
| [expression](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.icomputedattributemetadataobjectbase/index.md#icomputedattributemetadataobjectbaseexpression) |  | string | MAQL expression computing the attribute values. |
| [format?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.icomputedattributemetadataobjectbase/index.md#icomputedattributemetadataobjectbaseformat) |  | string | _(Optional)_ Formatting of the computed values. If empty, a backend implementation-dependent default is used. |
| [isNullable?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.icomputedattributemetadataobjectbase/index.md#icomputedattributemetadataobjectbaseisnullable) |  | boolean | _(Optional)_ Whether the computed values may contain nulls. |
| [locale?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.icomputedattributemetadataobjectbase/index.md#icomputedattributemetadataobjectbaselocale) |  | string | _(Optional)_ Locale whose collation order the computed values are sorted by. |
| [metricType?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.icomputedattributemetadataobjectbase/index.md#icomputedattributemetadataobjectbasemetrictype) |  | [MetricType](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.metrictype/index.md) | _(Optional)_ Categorizes the semantics of the computed values (e.g., currency). |
| [nullValue?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.icomputedattributemetadataobjectbase/index.md#icomputedattributemetadataobjectbasenullvalue) |  | string | _(Optional)_ Value used in place of null computed values. |
| [type](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.icomputedattributemetadataobjectbase/index.md#icomputedattributemetadataobjectbasetype) |  | "computedAttribute" |  |
| [valueType?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.icomputedattributemetadataobjectbase/index.md#icomputedattributemetadataobjectbasevaluetype) |  | [ComputedAttributeValueType](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.computedattributevaluetype/index.md) | _(Optional)_ Specific type of the computed values (hyperlink, image, geo, ...). |

## Property details

### IComputedAttributeMetadataObjectBase.dataType

Data type of the computed values.

**Signature:**

```typescript
dataType?: ComputedAttributeDataType;
```

### IComputedAttributeMetadataObjectBase.expression

MAQL expression computing the attribute values.

**Signature:**

```typescript
expression: string;
```

### IComputedAttributeMetadataObjectBase.format

Formatting of the computed values. If empty, a backend implementation-dependent default is used.

**Signature:**

```typescript
format?: string;
```

### IComputedAttributeMetadataObjectBase.isNullable

Whether the computed values may contain nulls.

**Signature:**

```typescript
isNullable?: boolean;
```

### IComputedAttributeMetadataObjectBase.locale

Locale whose collation order the computed values are sorted by.

**Signature:**

```typescript
locale?: string;
```

### IComputedAttributeMetadataObjectBase.metricType

Categorizes the semantics of the computed values (e.g., currency).

**Signature:**

```typescript
metricType?: MetricType;
```

### IComputedAttributeMetadataObjectBase.nullValue

Value used in place of null computed values.

**Signature:**

```typescript
nullValue?: string;
```

### IComputedAttributeMetadataObjectBase.type

**Signature:**

```typescript
type: "computedAttribute";
```

### IComputedAttributeMetadataObjectBase.valueType

Specific type of the computed values (hyperlink, image, geo, ...).

**Signature:**

```typescript
valueType?: ComputedAttributeValueType;
```
