Jump to content
We've recently updated our Privacy Statement, available here ×

Cumulative cost in multiple axis line char


minuz1991

Recommended Posts

Hello,

I'm trying to calculate cumulative cost in my depth vs days and cost diagram. For example the cost should look something like that :

Day_Cost         Cumulative_Cost

150$                 150$

150$                 300$

200$                 500$

 

I'm trying to achieve this by using CHART PROPERTIES ->CHART DATA->CONFIGURATION AND MODIFY MY COST MEASURE.

In the Cost measure I select calculation as a SUM and value expression as my day_cost, however, I'm not seeing any cumulative values. Is it possible to calculate cumulative value using my method or is it need to be calculated in MySQL query and if so, how would I do it without setting variables to store cumulative value. 

Here is a screenshot of my results, the red line shows linear progression that I want to achieve using cumulative costs. 

diagram1(2).PNG.524a112b2d2bf0e938298a7eb0e27c5a.PNG

Any suggestions?
Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Directly computing running/cumulative totals via measures is not possible.

The only option is to compute the total with report variables, and then pass the computed values to the chart.  See an example in the attached report (run with the Sample DB).

Regards,

Lucian

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...