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.
COUNT function (DAX) - DAX | Microsoft Learn
learn.microsoft.com › en-us › daxJun 21, 2022 · The COUNT function counts rows that contain the following kinds of values: Numbers. Dates. Strings. When the function finds no rows to count, it returns a blank. Blank values are skipped. TRUE/FALSE values are not supported. If you want to evaluate a column of TRUE/FALSE values, use the COUNTA function. This function is not supported for use in DirectQuery mode when used in calculated columns or row-level security (RLS) rules.
COUNTX function (DAX) - DAX | Microsoft Learn
learn.microsoft.com › en-us › daxJun 21, 2022 · The COUNTX function counts only values, dates, or strings. If the function finds no rows to count, it returns a blank. If you want to count logical values, use the COUNTAX function. This function is not supported for use in DirectQuery mode when used in calculated columns or row-level security (RLS) rules.