Page 1 of 1

sum two fields inside a report

Posted: Thu Mar 05, 2026 10:59 am
by JohnPaul
Hello,

I would like to know if it is possible to sum two fields inside a report.
In my report I have two numeric fields and I would like to display the sum of these two fields in another column or text component.

For example:
Field1 + Field2 = Total

I am new to Stimulsoft Reports, so I would like to understand what is the recommended way to do this (expression, calculated column, or another method).
If possible, could you provide a simple example?

Thank you.

Re: sum two fields inside a report

Posted: Thu Mar 05, 2026 12:24 pm
by Max Shamanov
Hello,

Please check the following link to our documentation and demo:
https://www.stimulsoft.com/en/documenta ... tarted.htm
https://demo.stimulsoft.com/?seeAll=rep ... SimpleList

Also, please check the attached report.

Please share a sample of your report so we can provide a more accurate recommendation.

Thank you.

Re: sum two fields inside a report

Posted: Mon Mar 23, 2026 8:35 am
by shaneronan
Hey buddy, in Stimulsoft Reports, the easiest way to sum two fields is to use an expression directly in a Text component.

You just need to drag a Text component onto your report and enter an expression like this: {DataSource.Field1 + DataSource.Field2}. Stimulsoft will automatically calculate and display the total for you

Re: sum two fields inside a report

Posted: Mon Mar 23, 2026 8:54 pm
by Lech Kulikowski
Hello,

Thank you for sharing your experience with other users.