Avg
Avg(column) · Aggregation
SQL AVG over the current context. NULLs are skipped (they reduce the denominator, unlike zeros). Blank over zero rows.
Example
Section titled “Example”AvgAmount := Avg(Sales.Amount)Good to know
Section titled “Good to know”Avgis accepted underYTD/RollingSum— the compiler decomposes it into windowedSUM(sum)/SUM(count).- For “average per customer”-style questions at a coarser grain, compute the per-entity value with
Fixedand set the chart aggregation to avg.