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

# v1.AggregatedFact

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

**Signature:**

```typescript
export interface AggregatedFact 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [aggregated\_as](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.aggregatedfact/index.md#v1aggregatedfactaggregated_as) |  | "MIN" \| "MAX" \| "SUM" \| "APPROXIMATE\_COUNT" | Aggregation method for the fact. Mapped to sourceFactReference in the API. |
| [assigned\_to](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.aggregatedfact/index.md#v1aggregatedfactassigned_to) |  | string | ID of the source fact this aggregated fact is based on. Mapped to sourceFactReference in the API. |
| [data\_type](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.aggregatedfact/index.md#v1aggregatedfactdata_type) |  | "INT" \| "STRING" \| "DATE" \| "NUMERIC" \| "TIMESTAMP" \| "TIMESTAMP\_TZ" \| "BOOLEAN" \| "HLL" | A column data type in the physical database. |
| [description?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.aggregatedfact/index.md#v1aggregatedfactdescription) |  | string | _(Optional)_ An optional description of the field. |
| [is\_nullable?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.aggregatedfact/index.md#v1aggregatedfactis_nullable) |  | boolean | _(Optional)_ Optional flag to indicate if the aggregated fact can contain null values. |
| [null\_value\_join\_replacement?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.aggregatedfact/index.md#v1aggregatedfactnull_value_join_replacement) |  | string | _(Optional)_ Optional value which can be used as replacement for NULL in join conditions. |
| [source\_column?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.aggregatedfact/index.md#v1aggregatedfactsource_column) |  | string | _(Optional)_ A column name in the physical database. Optional, equals to id by default. |
| [tags?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.aggregatedfact/index.md#v1aggregatedfacttags) |  | [Tags4](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.tags4/index.md) | _(Optional)_ |
| [type](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.aggregatedfact/index.md#v1aggregatedfacttype) |  | "aggregated\_fact" |  |

## Property details

### v1.AggregatedFact.aggregated_as

Aggregation method for the fact. Mapped to sourceFactReference in the API.

**Signature:**

```typescript
aggregated_as: "MIN" | "MAX" | "SUM" | "APPROXIMATE_COUNT";
```

### v1.AggregatedFact.assigned_to

ID of the source fact this aggregated fact is based on. Mapped to sourceFactReference in the API.

**Signature:**

```typescript
assigned_to: string;
```

### v1.AggregatedFact.data_type

A column data type in the physical database.

**Signature:**

```typescript
data_type: "INT" | "STRING" | "DATE" | "NUMERIC" | "TIMESTAMP" | "TIMESTAMP_TZ" | "BOOLEAN" | "HLL";
```

### v1.AggregatedFact.description

An optional description of the field.

**Signature:**

```typescript
description?: string;
```

### v1.AggregatedFact.is_nullable

Optional flag to indicate if the aggregated fact can contain null values.

**Signature:**

```typescript
is_nullable?: boolean;
```

### v1.AggregatedFact.null_value_join_replacement

Optional value which can be used as replacement for NULL in join conditions.

**Signature:**

```typescript
null_value_join_replacement?: string;
```

### v1.AggregatedFact.source_column

A column name in the physical database. Optional, equals to id by default.

**Signature:**

```typescript
source_column?: string;
```

### v1.AggregatedFact.tags

**Signature:**

```typescript
tags?: Tags4;
```

### v1.AggregatedFact.type

**Signature:**

```typescript
type: "aggregated_fact";
```
