Count of Unique Values (DistinctCount) in Power BI Through ...
radacad.com › count-of-unique-values-distinctcountFeb 27, 2020 · Count of Unique Values (DistinctCount) in Power BI Through Power Query Group By Transformation. You can have a distinct count calculation in multiple places in Power BI, through DAX code, using the Visual’s aggregation on a field, or even in Power Query. If you are doing the distinct count in Power Query as part of a group by operation, however, the existing distinct count is for all columns in the table, not for a particular column.
DISTINCTCOUNT function (DAX) - DAX | Microsoft Learn
learn.microsoft.com › en-us › daxJun 21, 2022 · You can use columns containing any type of data. When the function finds no rows to count, it returns a BLANK, otherwise it returns the count of distinct values. DISTINCTCOUNT function counts the BLANK value. To skip the BLANK value, use the DISTINCTCOUNTNOBLANK function. This function is not supported for use in DirectQuery mode when used in calculated columns or row-level security (RLS) rules.