Get The Distinct Count Of Values By Each Day Using DAX
We have a serious issue when it comes to calculating the distinct count of values based on dates,
why? cause if you want to get the distinct count for each day, the usual distinct count measure will ignore the day-by-day calculating and will get the distinct count for the whole period.
so let's see how to overcome this.
The solution is simple ... we will create a summarization by date and we will iterate through it calculating the distinct count
This is the original measure that calculates the distinct count |
Here we can see that for one day the two measures give the same value and it's reasonable |
Regards.
Comments
Post a Comment