Forum Discussion
AnaPiedade
5 years agoRegular Visitor
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
- camargos88
Community Champion
- AnaPiedadeRegular Visitor
Hello camargos88,
Thank you for the suggestion. Although this function is only counting blanks and gives me a much bigger number for the blanks I have.
purchdoc
1
1
2
blank
blank
My desired outcome is 4 for the example above.
- camargos88
Community Champion