distinctcount based on the parameters selected dax code example Example: power bi count unique values in a column =DISTINCTCOUNTNOBLANK('your_table'[your_column])