This is an ever-expanding list of enabled aggregations.
You can find their full definitions in the ClickHouse documentation. Additionally, we include a list of popular ones and their uses in the HogQL expressions and SQL insight documentation.
Standard aggregate functions
countcountIfminminIfmaxmaxIfsumsumIfavgavgIfanyanyIfstddevPopstddevPopIfstddevSampstddevSampIfvarPopvarPopIfvarSampvarSampIfcovarPopcovarPopIfcovarSampcovarSampIf
ClickHouse-specific aggregate functions
anyHeavyanyHeavyIfanyLastanyLastIfargMinargMinIfargMaxargMaxIfavgWeightedavgWeightedIfgroupArraygroupUniqArraygroupArrayInsertAtgroupArrayInsertAtIfgroupArrayMovingAvggroupArrayMovingAvgIfgroupArrayMovingSumgroupArrayMovingSumIfgroupBitAndgroupBitAndIfgroupBitOrgroupBitOrIfgroupBitXorgroupBitXorIfgroupBitmapgroupBitmapIfgroupBitmapAndgroupBitmapAndIfgroupBitmapOrgroupBitmapOrIfgroupBitmapXorgroupBitmapXorIfsumWithOverflowsumWithOverflowIfdeltaSumdeltaSumIfdeltaSumTimestampdeltaSumTimestampIfsumMapsumMapIfminMapminMapIfmaxMapmaxMapIfskewSampskewSampIfskewPopskewPopIfkurtSampkurtSampIfkurtPopkurtPopIfuniquniqIfuniqExactuniqExactIfuniqHLL12uniqHLL12IfuniqThetauniqThetaIfsimpleLinearRegressionsimpleLinearRegressionIfcontingencycontingencyIfcramersVcramersVIfcramersVBiasCorrectedcramersVBiasCorrectedIftheilsUtheilsUIfmaxIntersectionsmaxIntersectionsIfmaxIntersectionsPositionmaxIntersectionsPositionIf