- DAX Functions Tutorial
- DAX Functions - Home
- DAX Functions - Introduction
- DAX Parameter Naming Conventions
- Description Structure
- DAX Functions - Aggregation
- DAX Functions - Filter
- DAX Functions - Time Intelligence
- DAX Functions - Date and Time
- DAX Functions - Information
- DAX Functions - Logical
- Math & Trigonometric Functions
- DAX Functions - Parent & Child
- DAX Functions - Statistical
- DAX Functions - Text
- DAX Functions - Other
- DAX Functions Useful Resources
- DAX Functions - Quick Guide
- DAX Functions - Useful Resources
- DAX Functions - Discussion
DAX Aggregation - COUNT function
Description
Counts the number of cells in a column that contain numbers.
Syntax
COUNT (<column>)
Parameters
Sr.No. | Parameter & Description |
---|---|
1 |
column The column that contains the numbers to be counted. |
Return Value
Returns a whole number.
Remarks
You can use columns containing any type of data, but only numbers are counted. The COUNT function counts the rows that contain the following kinds of values −
- Number
- Dates
If the row contains text that cannot be translated into a number, the row is not counted. When the function finds no rows to count, it returns a blank. When there are rows, but none of them meet the specified criteria, then the function returns 0.
Example
= COUNT (ProductInventory[UnitsBalance])
dax_functions_aggregation.htm
Advertisements