Skip to content

Formula

Legacy shortcut that applies an aggregate function to the column named by Name. Prefer Expression: { Name : 'Amount', Formula : 'Sum' } is the same as { Name : 'Amount', Expression : 'Sum(Amount)' }.

Allowed Values

  • Count
  • CountDistinct
  • Sum
  • SumDistinct
  • Avg
  • AvgDistinct
  • Min
  • Max
  • StdDev

Type

( "Count" | "CountDistinct" | "Sum" | "SumDistinct" | "Avg" | "AvgDistinct" | "Min" | "Max" | "StdDev" )

Declaration

1
 ( "Count" | "CountDistinct" | "Sum" | "SumDistinct" | "Avg" | "AvgDistinct" | "Min" | "Max" | "StdDev" ) myQueryColumn.Formula