Dcount
dcount
Returns the count of distinct values in a column.
Spec
dcount(arg0)Parameters
arg0 - The column to count distinct values of.Return Value
An int64: the number of distinct non-null values.Example
datatable(val:string)["a", "b", "a", "c", "b"]
| summarize unique_count = dcount(val)| unique_count |
|---|
| 3 |