COUNT (DISTINCT)



This function calculates the number of distinct values. You can use a result of the Array function as a parameter.

COUNT(DISTINCT Sales.Contractor)

Next page: MAX