Forum Discussion

yugofukuda's avatar
yugofukuda
Helper IV
5 years ago
Solved

Sum ignoring filter

Hi, sorry for very easy thing for you but I have a question.

 

In order to create some graph, I would like to make an expression of "sum ignoring filter".

For example, in the case as below, even if I check some filter, I would keep "Sum value". 
It would be appreciated if you could help me. Thanks!!

  • camargos88's avatar
    camargos88
    5 years ago

    yugofukuda ,

     

    I can see you are ignoring all the dates, you want to ignore the column that you are using on the slicer ?

    If yes, it's something like:

     

    CALCULATE(SUM(TABLE[COLUMN]), ALL(TABLE[COLUMN_USED_ON_SLICER]))

4 Replies

  • camargos88's avatar
    camargos88
    Community Champion

    Hi yugofukuda ,

     

    You can create a measure like:

     

    CALCULATE(SUM(TABLE[VALUE]), ALL(TABLE[COLUMN_FILTER]))

    • yugofukuda's avatar
      yugofukuda
      Helper IV

      camargos88 

       

      Thank you for your quick response.

      Actually, i tried to use that but it didn't go well as below. How should I do??

      • camargos88's avatar
        camargos88
        Community Champion

        yugofukuda ,

         

        I can see you are ignoring all the dates, you want to ignore the column that you are using on the slicer ?

        If yes, it's something like:

         

        CALCULATE(SUM(TABLE[COLUMN]), ALL(TABLE[COLUMN_USED_ON_SLICER]))