Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

Calculate with boolean filter and corresponding slicer not working

$
0
0

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:

  1. TaskType nothing selected: Nr of Tasks = 14; A Tasks = 6; B Tasks = 8;
  2. TaskType A selected:           Nr of Tasks = 6;   A Tasks = 6; B Tasks = 7;
  3. 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


Viewing all articles
Browse latest Browse all 213819

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>