# Choose the figure the calculations strip shows under a page column

Sets the calculation the summary strip shows under one column of a record page (leads, deals, merchants and the rest) — sum, average, median, min, max, earliest, latest, count filled, count empty, percent filled, percent empty or count unique — for everyone who opens the page; an empty kind clears it. Any member may choose, since this is a view choice and not the page's shape, which stays an admin's through PATCH. 400 for a word the strip does not have, 404 for a column the page does not carry.

Access class: `def:read`.

## Endpoint

`PUT /v1/definitions/{key}/columns/{columnId}/calculation`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| key | path | string | Yes |
| columnId | path | string | Yes |

## Request body

Content type: `application/json`.

```json
{
  "body": {
    "kind": "string"
  },
  "params": {
    ":columnId": "",
    ":key": "string"
  },
  "query": {}
}
```

## Responses

### 200

the action's answer

Content type: `application/json`.

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
