Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

Sum value with filter and total at the same time

I have two tables one of valor and another one of the month I want to select the month by a filter and show the value total of the selected month I got now that I want to show the total independen...
  • v-sihou-msft's avatar
    8 years ago

    Anonymous

     

    You just need to create two measures like: 

     

    Total =
    CALCULATE ( SUM ( varlor[value] ), ALL ( 'valor' ) )
    Total of selected =
    CALCULATE ( SUM ( varlor[value] ), ALLSELECTED ( 'valor' ) )

    Regards,