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

# IPivotTableBucketProps

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

**Signature:**

```typescript
export interface IPivotTableBucketProps 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [columns?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-pivot/sdk-ui-pivot.ipivottablebucketprops/index.md#ipivottablebucketpropscolumns) |  | [AttributesOrPlaceholders](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.attributesorplaceholders/index.md) | _(Optional)_ Specify one or more attributes to create table columns from. |
| [filters?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-pivot/sdk-ui-pivot.ipivottablebucketprops/index.md#ipivottablebucketpropsfilters) |  | [NullableFiltersOrPlaceholders](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.nullablefiltersorplaceholders/index.md) | _(Optional)_ Specify filters to apply on the data to chart. |
| [measures?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-pivot/sdk-ui-pivot.ipivottablebucketprops/index.md#ipivottablebucketpropsmeasures) |  | [AttributesMeasuresOrPlaceholders](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.attributesmeasuresorplaceholders/index.md) | _(Optional)_ Specify measures to create table columns from. |
| [placeholdersResolutionContext?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-pivot/sdk-ui-pivot.ipivottablebucketprops/index.md#ipivottablebucketpropsplaceholdersresolutioncontext) |  | any | _(Optional)_ Optional resolution context for composed placeholders. |
| [rows?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-pivot/sdk-ui-pivot.ipivottablebucketprops/index.md#ipivottablebucketpropsrows) |  | [AttributesOrPlaceholders](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.attributesorplaceholders/index.md) | _(Optional)_ Specify attributes, whose elements will be used to populate table rows. |
| [sortBy?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-pivot/sdk-ui-pivot.ipivottablebucketprops/index.md#ipivottablebucketpropssortby) |  | [SortsOrPlaceholders](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.sortsorplaceholders/index.md) | _(Optional)_ Specify how to sort the data to chart. |
| [totals?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-pivot/sdk-ui-pivot.ipivottablebucketprops/index.md#ipivottablebucketpropstotals) |  | [TotalsOrPlaceholders](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.totalsorplaceholders/index.md) | _(Optional)_ Specify what totals should be calculated and included in the table. |

## Property details

### IPivotTableBucketProps.columns

Specify one or more attributes to create table columns from.

**Signature:**

```typescript
columns?: AttributesOrPlaceholders;
```

#### Remarks

There will be a column for each combination of the specified attribute's values.

Note: you can specify column attributes in conjunction with one or more measures. In that case the table will contain column for each combination of attribute values &amp; measures.

### IPivotTableBucketProps.filters

Specify filters to apply on the data to chart.

**Signature:**

```typescript
filters?: NullableFiltersOrPlaceholders;
```

### IPivotTableBucketProps.measures

Specify measures to create table columns from.

**Signature:**

```typescript
measures?: AttributesMeasuresOrPlaceholders;
```

### IPivotTableBucketProps.placeholdersResolutionContext

Optional resolution context for composed placeholders.

**Signature:**

```typescript
placeholdersResolutionContext?: any;
```

### IPivotTableBucketProps.rows

Specify attributes, whose elements will be used to populate table rows.

**Signature:**

```typescript
rows?: AttributesOrPlaceholders;
```

### IPivotTableBucketProps.sortBy

Specify how to sort the data to chart.

**Signature:**

```typescript
sortBy?: SortsOrPlaceholders;
```

### IPivotTableBucketProps.totals

Specify what totals should be calculated and included in the table.

**Signature:**

```typescript
totals?: TotalsOrPlaceholders;
```

#### Remarks

Note: table can only render column subtotal and/or grand-totals. It is not possible to calculate row totals. Also note: the table will only include subtotals when in grouping mode and the grouping is effective = table is sorted by the first row attribute.
