Forum Discussion

Carlo1975's avatar
Carlo1975
Helper I
5 years ago
Solved

Matrix table with sum

Hi, I have a problem and I don't know how to overcome it. I don't know if the solution is Dax or power query. I'm sorry. I try to explain.   I have a table like this. With 2 clusters columns, one ...
  • CNENFRNL's avatar
    5 years ago

    Hi, Carlo1975 , you might want to use this measure,

    Accum = 
    VAR __qtr = MAX ( Table1[Quarter] )
    RETURN
        CALCULATE ( SUM ( Table1[Amount] ), Table1[Quarter] <= __qtr )