Forum Discussion
User filter doesn't apply on distinctcount
- 4 years ago
Hi,
According to your description, I can roughly understand your requirement, I also created some sample data and I can successfully get the correct count value using the DAX formula:
Count of unique order types = CALCULATE(DISTINCTCOUNT(Orders[type]),ALLSELECTED(Orders))Then I go to check the interaction type between the slicer and the visuals to make sure they are enabled:
And I can get what you want, like this:
You can download my test pbix file below
Thank you very much!
Best Regards,
Community Support Team _Robert Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
According to your description, I can roughly understand your requirement, I also created some sample data and I can successfully get the correct count value using the DAX formula:
Count of unique order types =
CALCULATE(DISTINCTCOUNT(Orders[type]),ALLSELECTED(Orders))
Then I go to check the interaction type between the slicer and the visuals to make sure they are enabled:
And I can get what you want, like this:
You can download my test pbix file below
Thank you very much!
Best Regards,
Community Support Team _Robert Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.