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

# ITotal

- 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/base/totals.ts

Describes type and granularity for calculation of Totals.

**Signature:**

```typescript
export interface ITotal 
```

## Remarks

Total is calculated for particular measure and on some granularity - specified by an attribute by which the measure is sliced by.

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [alias?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.itotal/index.md#itotalalias) |  | string | _(Optional)_ Specifies custom name for the calculated total. This will be included in result metadata. |
| [attributeIdentifier](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.itotal/index.md#itotalattributeidentifier) |  | [Identifier](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.identifier/index.md) | Local identifier of attribute - specifies granularity of the calculation. |
| [measureIdentifier](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.itotal/index.md#itotalmeasureidentifier) |  | [Identifier](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.identifier/index.md) | Local identifier of measure for which to calculate total. |
| [type](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.itotal/index.md#itotaltype) |  | [TotalType](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.totaltype/index.md) | Type of total calculation. |

## Property details

### ITotal.alias

Specifies custom name for the calculated total. This will be included in result metadata.

**Signature:**

```typescript
alias?: string;
```

### ITotal.attributeIdentifier

Local identifier of attribute - specifies granularity of the calculation.

**Signature:**

```typescript
attributeIdentifier: Identifier;
```

### ITotal.measureIdentifier

Local identifier of measure for which to calculate total.

**Signature:**

```typescript
measureIdentifier: Identifier;
```

### ITotal.type

Type of total calculation.

**Signature:**

```typescript
type: TotalType;
```
