DISTINCTCOUNT, DISTINCTCOUNTNOBLANK – DAX Guide

DISTINCTCOUNT: Counts the number of distinct values in a column.
https://dax.guide/distinctcount/

DISTINCTCOUNTNOBLANK: Counts the number of distinct values in a column.
https://dax.guide/distinctcountnoblank/