Forum Discussion

AnaPiedade's avatar
AnaPiedade
Regular Visitor
5 years ago

Count distinct values plus count each blank one time DAX

Hello,

 

I have a column with purchase document numbers. They can be blank or have a number that can appear repeated in several rows.

I want to count the repeat values one times and each blank also one time (no count all blanks just one time).

 

Is this possible to do with a measure? I am using the COUNTDISTINCT but this will not work for the blanks counting.

4 Replies