Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Cumulative total for my data model

Hello please help me to calculate cumulative based on this data model. In my data model there is no date sorting and most of the solutions on the internet are based on this.  in my data model index ...
  • Anonymous's avatar
    Anonymous
    5 years ago

    Hi Anonymous ,

     

    Please refer the formula.

    Measure = CALCULATE(SUM('Table'[value]),FILTER(ALLSELECTED('Table'),'Table'[index]<=MAX('Table'[index])))

    Result would be shown as below.

     

    Best Regards,

    Jay