Forum Discussion

KH11NDR's avatar
KH11NDR
Helper IV
7 years ago
Solved

Cumulative Totals Row

Hi Guys,

 

How do i do the Cumulative Total

 

Thanks

 

 01/01/201801/02/201801/03/201801/04/201801/05/201801/06/201801/07/201801/08/201801/09/201801/10/201801/11/201801/12/2018
Values0102030405060708090100110
Cumulative 0103060100150210280360450550660

3 Replies

  • The first stap is to pivot your table. 

    column name - Date - value

    Cumm total - 1/1/2018 - 10

    cumm total - 2/1/2018 - 5 ect

     

    then you can to a measure on value:Total = Sum('table'[Value])

    then an other measure for the cumalative. if you want it **bleep** in the year you can use. TOTALYTD function:

     total **bleep** = Calculate([Total], TOTALYTD('table'[Date]))

     

     

    • KH11NDR's avatar
      KH11NDR
      Helper IV

      Maddy99

       

       total **bleep** = Calculate([Total], TOTALYTD('table'[Date]))

       

      The date field, is looking for a measure , my date field is a column.