Forum Discussion

jaryszek's avatar
jaryszek
Super User
9 months ago
Solved

How to cound real distinct values?

Hello,  I am using this dax to calculate distinct values in a column: EVALUATE ROW ( "TagValue_Distinct", DISTINCTCOUNT ( 'Dim_EA_Resource_TagKeys'[Value] ) ) and it is showing: ...
  • v-sshirivolu's avatar
    v-sshirivolu
    9 months ago

    Hi jaryszek ,
    I tried your approach and was able to reproduce the scenario on my end. By using your DAX expression with REMOVEFILTERS on the Date column, I was able to get the correct distinct count regardless of the selected date. This confirms that removing the date filter ensures the measure calculates the real distinct values across all dates, giving the expected output.

    Please find the below attached .pbix file for your reference.