- 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 - DISTINCTCOUNT function
Description
Counts the distinct values in a column.
Syntax
DISTINCTCOUNT (<column>)
Parameters
Sr.No. | Parameter & Description |
---|---|
1 |
column The column that contains the values to be counted. |
Return Value
A whole number.
Remarks
You can use columns containing any type of data. When the function finds no rows to count, it returns a blank.
Example
= DISTINCTCOUNT (Sales[Account])
dax_functions_aggregation.htm
Advertisements