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