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