View as Markdown

API reference: @salmonui/pivot-table/engine

measureIdfunction

import { measureId } from '@salmonui/pivot-table/engine';
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.