COUNT DAX Function

The COUNT function counts the number of rows in the specified column that contain non-blank values. It also counts the duplicate values in the column.

DAX Syntax COUNT(table-name[column])

The parameter column is the column that contains the values to be counted. The table-name is optional, to avoid confusion.

Example: Count the number of rows with non-blank values. Create a calculated column.

DAX

Count number of rows with non-blank values = COUNT([MyBranch])
COUNT dax function