View as Markdown

API reference: @salmonui/pivot-table/engine

PivotAggregatetype

import type { PivotAggregate } from '@salmonui/pivot-table/engine';

Also exported from @salmonui/pivot-table.

type PivotAggregate = 'sum' | 'product' | 'count' | 'distinctCount' | 'min' | 'max' | 'average' | 'median' | 'populationStdev' | 'sampleStdev' | 'populationVar' | 'sampleVar' | 'custom';