Forum Discussion

dixon1983's avatar
dixon1983
Regular Visitor
8 years ago
Solved

Cumulative Total applying to different visuals

Hi, I'm using the following to calculate a cumulative total based on different stages of a process... i.e. stage 1 contains sum of 1,2,3 and 4... 2 contains sum of 2,3&4 etc etc...   The measure b...
  • Zubair_Muhammad's avatar
    Zubair_Muhammad
    8 years ago

    Hi dixon1983

     

    This MEASURE should do it

     

    Cumulative =
    CALCULATE (
        SUM ( Table1[MOQ Saving] ),
        FILTER ( ALL ( Table1 ), Table1[Stage] >= SELECTEDVALUE ( Table1[Stage] ) )
    )