Forum Discussion

manicktvs91's avatar
manicktvs91
New Member
5 years ago
Solved

Visualization - Line chart with cumulative numbers!

Hi, I have a set of data (for example : number of customer complaints on weekly basis for last 1 year), Now I want to represent it in a line chart with cumulative increasing numbers week on week. wh...
  • V-lianl-msft's avatar
    5 years ago

    Hi manicktvs91 ,

     

    You could try measure like below:

    Measure = CALCULATE(SUM('Table'[complaints ]),FILTER(ALL('Table'),COUNTROWS(FILTER('Table',EARLIER('Table'[Year_week])<='Table'[Year_week]))))

     

     

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