LimeReport Forum

General Category | Основное => Discussion | Обсуждение => Topic started by: Hassan on July 08, 2019, 01:37:25 PM

Title: accumulator textitem in data
Post by: Hassan on July 08, 2019, 01:37:25 PM
how can I make textitem as an accumulator. how to use function sum in itemtext in data not in footer
Title: Re: accumulator textitem in data
Post by: Arin Alex on July 08, 2019, 02:51:17 PM
if you need to make some calculations within one record, you can simply add the values in the script something like this $S{$D{datasource.field1}+$D{datasource.field2}}
Title: Re: accumulator textitem in data
Post by: davidovv on October 28, 2022, 12:39:53 PM
I think the question was about running sum, i cant find answer on rest of forum, this question is closest and i didn't want to start a new topic.
if you have a datasource that has for example four rows with some value 10, 10, 100, 1, next to value at each row i would like a running sum. *the values for the example would be 10, 20, 120, 121. For each row accumulated values of previous rows.
How to achieve that?