Forum Discussion

Haya's avatar
Haya
Helper II
6 years ago
Solved

Card visualizer count distinct without blank

I have card visualizer that count disctict values in a single colunm, However, it calculates blank value that I want to exclude. I tried to use visual filter but the dropdown of the filter is not cl...
  • Anonymous's avatar
    Anonymous
    6 years ago

    Hi Haya,

    Please try to create one measure as below:

    Measure = CALCULATE(DISTINCTCOUNT('Table'[Name]),NOT(ISBLANK('Table'[Name]))&&TRIM('Table'[Name])<>"")

    Best Regards

    Rena