Forum Discussion
Incorrect DISTINCTCOUNT value when counting unique dates in table
- 4 years ago
Hi nickappftna ,
Create a column datevalue(datecolumn)
Then do a distinct count on that column, it should work.
Did I help you today? Please accept my solution and hit the Kudos button.
Hi nickappftna ,
Create a column datevalue(datecolumn)
Then do a distinct count on that column, it should work.
Did I help you today? Please accept my solution and hit the Kudos button.
Interesting. This does work -- thank you for the quick answer. Though I'm not sure I understand why my original (failed) solution does not work. Isn't the point of adding ".[DATE]" to specify that I only want to look at the date portion of the TimeStamp? ...as opposed to .[Day], .[Month], etc.?
- davehus4 years ago
Memorable Member
It's actually not something I've used before and oddly enough there isn't much documentation on it on the MT website. I'll have to go digging into the dax guide to see.
If this has worked for you, please accept it as a solution 🙂 Thank you.