Forum Discussion

marina_oliveira's avatar
marina_oliveira
Frequent Visitor
3 years ago

Calculated column sum grouped

Hello everyone!

So, I have this table (fVolume) with information separated by Month_Year and Center (Unidade). A Center belogs to a Region, and a Region can have multiple Centers. I want to calculate the sum of the volume per Month_Year per Region. I was thinking of a calculated column, but it can be a measure too, I don't know... Can you guys help me?

 

 

 

1 Reply

  • tamerj1's avatar
    tamerj1
    Community Champion

    Hi marina_oliveira 

    please try

    Coluna =
    CALCULATE (
    SUM ( 'Table'[Volume Mes Corrigido] ),
    ALLEXCEPT ( 'Table', 'Table'[Mes_Ano] )
    )