Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

How to create YTD Cumulative measure/running total?

$
0
0

Above

Data.jpg

 

Above is a screendump of the data in my table. I am trying to create an running total or Cumulative Sum. For each chart I will pick one or more from the [OkoType] and in the chart show month ([Md]) on x-axis and [Amount] on y-Axis and as Legend I use the [Version] coloumn.

 

No matter how I slice it will only give me the amount for each month and not the running total/Cumulative. I have tried something like this:

 

Cumulative Quantity = 
CALCULATE (
    SUM ( AgressoAcc[Total] );
    FILTER (
        ALL ( AgressoAcc[Md] );
        AgressoAcc[Md] <= MAX ( AgressoAcc[Md] )
    )
)

But no matter it helps. What am I doing wrong?

 


Viewing all articles
Browse latest Browse all 213819

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>