Forum Discussion

SFanalyst's avatar
SFanalyst
Regular Visitor
8 years ago
Solved

How to calculate difference after different filter settings?

I have a table that shows Number of Services Rendered and Amount of Funding Allocation. I've also created a group of the Amount of Funding Allocation so I have organizations grouped between ($100-200, $201-500, etc.) I want to create a slicer of the group and then see the on Number of Services Rendered based on the selection I remove from the group in a slicer. In other word, if I unselected those agencies that are in the group of $100-200, how many services rendered would that impact? 

 

 

  • SFanalyst,

     

    You may add a measure as follows.

    Measure =
    CALCULATE ( SUM ( Table1[Number of Services Rendered] ), ALL ( Table1[group] ) )
        - SUM ( Table1[Number of Services Rendered] )
    

1 Reply

  • v-chuncz-msft's avatar
    v-chuncz-msft
    Community Support

    SFanalyst,

     

    You may add a measure as follows.

    Measure =
    CALCULATE ( SUM ( Table1[Number of Services Rendered] ), ALL ( Table1[group] ) )
        - SUM ( Table1[Number of Services Rendered] )