Forum Discussion

elcabansh's avatar
elcabansh
Frequent Visitor
5 years ago
Solved

cumulative for this table

greeting 

 

I need to see in the matrix the cumulative planned value till the mentioned month, only I get the planned monthly or daily not cumulative.

 

any help in this 

 

matrixtableexcel

  • Anonymous's avatar
    Anonymous
    5 years ago

    Hi  elcabansh  ,

    Here are the steps you can follow:

    1. Create calculated column.

    Year-month = YEAR('Table'[Date])&"-"&MONTH('Table'[Date])

    2. Create measure.

    Measure =
    CALCULATE(SUM('Table'[Column]),FILTER(ALL('Table'),'Table'[Activity ID]=MAX('Table'[Activity ID])&&'Table'[Year-month]<=MAX('Table'[Year-month])))

    3. Result.

     

    Best Regards,

    Liu Yang

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi  elcabansh  ,

    Here are the steps you can follow:

    1. Create calculated column.

    Year-month = YEAR('Table'[Date])&"-"&MONTH('Table'[Date])

    2. Create measure.

    Measure =
    CALCULATE(SUM('Table'[Column]),FILTER(ALL('Table'),'Table'[Activity ID]=MAX('Table'[Activity ID])&&'Table'[Year-month]<=MAX('Table'[Year-month])))

    3. Result.

     

    Best Regards,

    Liu Yang

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.