Skip to content

Count

Aggregation

Count(column)

Counts non-NULL values of the column (SQL COUNT(col)). Over zero rows it returns 0, not blank — SQL rules.

  • How many rows have a value — payments with a settlement date, leads with an email.
  • Prefer CountRows for plain how many rows, and CountDistinct for how many unique.
OrderLines := Count(Sales.OrderId)