TX Sheet Control

AnalyticsAggregation Type

Interface

Supported deterministic aggregate functions. COUNT counts nonblank values (or rows when field is omitted).

Package: @txtextcontrol/tx-sheet-control-server. Version: 2.0.0.

Related workbook object-model type, returned through the server control. Obtain it from its owning workbook or collection; it is not a required browser-package import.

Syntax

type AnalyticsAggregation = 'SUM' | 'COUNT' | 'COUNT DISTINCT' | 'AVG' | 'MIN' | 'MAX';

Examples

Use this public value with the application package shown below. File and font inputs are application-owned resources, not automatically downloaded product data.

import type { ServerSheetControl } from '@txtextcontrol/tx-sheet-control-server';

const value: Parameters<ServerSheetControl['workbook']['analytics']['query']>[0]['measures'][number]['aggregation'] =
    'SUM';

console.log(value);

See Also