COUNTA DAX Function

The COUNTA DAX function counts the number of rows in the specified column that contain non-blank values.

Example: Create a calculated column.

DAX

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