DISTINCTCOUNT Counts the number of distinct values in a column.
Syntax
DISTINCTCOUNT(column)
Parameters
column – The column that contains the values to be counted
Return Value
The number of distinct values in column.
Reference Data
https://docs.microsoft.com/en-us/dax/dax-function-reference