# measureId (@salmonui/pivot-table/engine)

> The measureId function of @salmonui/pivot-table/engine: Measure id of the value field at k (types.ts "Measure ids"): the field, field#aggregate when another value field uses the same field, and field#aggregate#k when even that repeats.

Canonical: https://salmonui.dev/docs/reference/pivot-table/engine/measureId

```ts
import { measureId } from '@salmonui/pivot-table/engine';
```

Entry index: https://salmonui.dev/docs/reference/pivot-table/engine (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/pivot-table/engine.md).

## Reference

Kind: function

```ts
function measureId(values: readonly PivotValueField[], k: number): string;
```

Measure id of the value field at `k` (types.ts "Measure ids"): the field,
`field#aggregate` when another value field uses the same field, and
`field#aggregate#k` when even that repeats.
