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