Forum Discussion

Karma777's avatar
Karma777
Frequent Visitor
3 years ago
Solved

Using Remove Filter function in measure not working

Hi, I have a simple visual like below which is a simple bar chart of "Demand" vs "Date-time" The Demand is a measure calculated as :  Demand Rap = (CALCULATE(sum(Facts[Assignment Committed...
  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi Karma777 ,

     

    Here I create a sample file to have a test.

    Facts:

    Projects:

    Project:

    Relationship:

    I suggest you to create [Demand Rap exc resoureceIsActive] measure based on [Demand Rap] measure.

    Demand Rap exc resoureceIsActive = 
    CALCULATE([Demand Rap],REMOVEFILTERS(Resources[ResourceIsActive]))

    Result is as below.

     

    Best Regards,
    Rico Zhou

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.