Custom Aggregator Types for Pivot Tables
mobile
Pivot analysis tables can perform aggregation calculations on pivot table metrics through the aggregationRules configuration item in the dataConfig. In addition to the built-in aggregation types such as SUM, COUNT, AVERAGE, MAX, and MIN, custom aggregation types are also supported. To use custom aggregation types, you need to first define a custom aggregation class that inherits from the built-in Aggregator class, register it to VTable, and then implement the aggregation logic in the custom aggregation class.