Events
31 Mar, 11 pm - 2 Apr, 11 pm
The biggest Fabric, Power BI, and SQL learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Applies to:
Calculated column
Calculated table
Measure
Visual calculation
Counts the number of rows in the specified column that contain non-blank values.
COUNTA(<column>)
Term | Definition |
---|---|
column |
The column that contains the values to be counted. |
A whole number.
When the function does not find any rows to count, the function returns a blank.
Unlike COUNT, COUNTA supports Boolean data type.
This function is not supported for use in DirectQuery mode when used in calculated columns or row-level security (RLS) rules.
The following example returns the number of all rows in the Reseller
table that have any kind of value in the column that stores phone numbers.
= COUNTA(Reseller[Phone])
COUNT function COUNTAX function COUNTX function Statistical functions
Events
31 Mar, 11 pm - 2 Apr, 11 pm
The biggest Fabric, Power BI, and SQL learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register today