KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Running Totals #307

Open Keith Burke opened this topic on on Jun 7, 2018 - 3 comments

K
Keith Burke commented on Jun 7, 2018

Hi,

I'm new to koolReports and evaluating it for our business. Is there a way of doing Running Totals on reports?

Thanks Keith

K
KoolReport commented on Jun 7, 2018

Yes, you can use the AccumulativeColumn like this

->pipe(new AccumulativeColumn(array(
    "running_total"=>"value"
)))

Here is another post about running total

Hope that helps.

Please let us know if you need further assistance.

K
Keith Burke commented on Jun 8, 2018

Nice one. Thanks. I feel stupid because I spent hours before and after your reply [I did see that previous post] but I was using AggregatedColumn and never noticed my mistake until seconds ago. Yup, it works.

K
KoolReport commented on Jun 9, 2018

It happens all the time, great to know that it worked :D

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
solved

None