Hi all,
I have three measures counting rows in table:
- Nr Of Tasks = COUNTROWS(Tasks)
- Nr Of A Tasks = CALCULATE([Nr Of Tasks]; Tasks[TaskType] = "A")
- Nr Of B Tasks = CALCULATE([Nr Of Tasks]; Tasks[TaskType] = "B")
Then I have a slicer (filter) in the report with TaskType, I and get the following results when I use the slicer:
- TaskType nothing selected: Nr of Tasks = 14; A Tasks = 6; B Tasks = 8;
- TaskType A selected: Nr of Tasks = 6; A Tasks = 6; B Tasks = 7;
- TaskType B selected: Nr of Tasks = 8; A Tasks = 6; B Tasks = 8;
I do not understand why B tasks drops down like this, in my mind the filter argument in Calculate should overwrite the slicer, hence always return 8, or am I wrong?
Regards,
Kristjan