Forum Discussion

dbillups's avatar
dbillups
Frequent Visitor
3 years ago
Solved

Static Measure Changing when a slicer is filtered

Hello, A bit of an odd question I'm hoping to get help with, please. I created a measure to calculate the total time my team has available per week to work on requests Weekly Actual Capacity =  ...
  • HotChilli's avatar
    3 years ago

    This requires more information before it can be solved. (what fields are in the visual, what tables they come from?).

    --

    From a visual inspection, there may be a problem with the filtering since there is a many-to-many relationship there (which we don't like). 

    Also, when measures are written with a CALCULATE, it's going to affect context and I would ask "why is it there?".  Sometimes people have a gut instinct to add CALCULATE to measures.  It may be valid, it may not but it may be part of the problem here.

    --

    In summary, remove the CALCULATE unless you need it, re-examine the model and think about how you want filtering to work here.