power bi number of distinct values code example Example: power bi count unique values in a column =DISTINCTCOUNTNOBLANK('your_table'[your_column])