APPROXIMATEDISTINCTCOUNT Function (DAX)

How does the APPROXIMATEDISTINCTCOUNT function (DAX) work?

The APPROXIMATEDISTINCTCOUNT function (DAX) returns the approximate number of rows that contain distinct values in a column.

APPROXIMATEDISTINCTCOUNT Formula Syntax

APPROXIMATEDISTINCTCOUNT(
     <columnName>
)

How do you use the APPROXIMATEDISTINCTCOUNT function?

This function can query large amounts of data with potentially better performance than DISTINCTCOUNT, with slight deviation from the exact result.

Related Blog Posts

Related Support Forum Posts

Understanding DAX Formula
Developing Complex Dax functions

Considerations when using the APPROXIMATEDISTINCTCOUNT function

The only argument to this function is a column. You can use columns containing any type of data. When the function finds no rows to count, it returns a BLANK, otherwise it returns the count of distinct values.

Related Video Tutorials

Formula examples using the APPROXIMATEDISTINCTCOUNT function

Related Course Modules

Ultimate-Beginners-Guide-To-PowerBI

DOWNLOAD

To access our comprehensive DAX formula reference guide just insert your email address below. The resource will download immediately and we’ll also email it to you.