# min

Computes the minimum of all grouped values.

```tql
min(xs:list) -> number
```

## Description

The `min` function returns the smallest numeric value in `xs`.

### `xs: list`

The values to evaluate.

## Examples

### Find the minimum value

```tql
from {x: 1}, {x: 2}, {x: 3}
summarize min_value=min(x)
```

```tql
{min_value: 1}
```

## See Also

* [`max`](https://preview.docs.tenzir.com/375/375/reference/functions/max.md)
* [`mean`](https://preview.docs.tenzir.com/375/375/reference/functions/mean.md)
* [`sum`](https://preview.docs.tenzir.com/375/375/reference/functions/sum.md)
* [Aggregate event streams](https://preview.docs.tenzir.com/375/375/guides/analytics/aggregate-event-streams.md)