Forum Discussion

mtmcd's avatar
mtmcd
Frequent Visitor
8 years ago
Solved

Cumulative Line and Clustered Column Chart

I'm having a difficult time plotting a cumulative (running total) line on top of a clustered column chart for goal vs actual quantities.   Here is my raw data, which shows Goal vs Actual quantities...
  • BILASolution's avatar
    BILASolution
    8 years ago

    Hi mtmcd

     

    1. If the results You're looking for is the next picture...

     

     

     

    try this measures...

     

    Accumulative Actual = var actualdate = FIRSTNONBLANK(Process[Date];1) return CALCULATE([Total Quantity];ALL(Process[Date].[Day]);Process[Status] = "Actual";Process[Date] <= actualdate) 
    Accumulative Goal = var actualdate = FIRSTNONBLANK(Process[Date];1) return CALCULATE([Total Quantity];ALL(Process[Date].[Day]);Process[Status] = "Goal";Process[Date] <= actualdate) 

    Regards

    BILASolution