Forum Discussion
Anonymous
9 years agoNot applicable
how to count distinct values in a column
HI I have a column with 2 different text values in, and i need to create a measure that can make a distinct count of these 2 values I have see the following https://community.powerbi.com/t5/Desktop/CA...
- Anonymous9 years ago
solved with the following
CountItem = CALCULATE (
DISTINCTCOUNT (TblName[itemnumber] );TblName[Status]="Open")
Anonymous
9 years agoNot applicable
solved with the following
CountItem = CALCULATE (
DISTINCTCOUNT (TblName[itemnumber] );TblName[Status]="Open")
- MAAbdullah479 years ago
Helper V
This work with me In measure (correct value) but On column, it gives a wrong value , why ?
- gusdahu7 years ago
Helper IV
Hi Anonymous ,
I used the same DAX you posted, however I received a result of one when it should've been two. What am I doing incorrectly? Here is my DAX expression:
Count Words = CALCULATE(DISTINCTCOUNT(Sheet1[Description]),Sheet1[Description]="Gloves")Regards,Gus Dahu