add value to a SUM

Stimulsoft Reports.NET discussion
Frederic73
Posts: 7
Joined: Wed Feb 20, 2019 10:24 am

add value to a SUM

Post by Frederic73 »

Hello
I m trying to add a fixed value to a Sum in my report and i have an error (there s no maching method for overloaded...)
{Sum(ReminderCommitment.CommitmentDueCurrencySolde)+ TotalGen}

Do you have an another way
Thanks
Lech Kulikowski
Posts: 6245
Joined: Tue Mar 20, 2018 5:34 am

Re: add value to a SUM

Post by Lech Kulikowski »

Hello,

Please try to use Totals.Sum() function.

Thank you.
Frederic73
Posts: 7
Joined: Wed Feb 20, 2019 10:24 am

Re: add value to a SUM

Post by Frederic73 »

TotalGen is a personnal variable
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: add value to a SUM

Post by HighAley »

Hello, Frederic.

Did you try to use the Totals.Sum() function?
If you still get any issue, please, send us your report template with sample data for analysis.

Thank you.
Frederic73
Posts: 7
Joined: Wed Feb 20, 2019 10:24 am

Re: add value to a SUM

Post by Frederic73 »

Thnks for the answer
Sorry i can t remember my User account to connect to the forum
Certainly i ve made a bad explanation
I just to do this kind
Sum(ReminderCommitment.CommitmentDueCurrencySolde)+40
It s not working the sum works fine but i have to add a value to this sum

Thanks
Lech Kulikowski
Posts: 6245
Joined: Tue Mar 20, 2018 5:34 am

Re: add value to a SUM

Post by Lech Kulikowski »

Hello,

Please try to use the Totals.Sum() function:
{Totals.Sum(ReminderCommitment, ReminderCommitment.CommitmentDueCurrencySolde)+40}

Thank you.
Frederic73
Posts: 7
Joined: Wed Feb 20, 2019 10:24 am

Re: add value to a SUM

Post by Frederic73 »

Thanks
I ve an error there s no matching overload method for 'op-Add(Object.int32')
I m using v2016 and not sure i can have an update
Stimulsoft licensing is include in my software

Do you have any other idea?
Thanks a lot
Lech Kulikowski
Posts: 6245
Joined: Tue Mar 20, 2018 5:34 am

Re: add value to a SUM

Post by Lech Kulikowski »

Hello,

Please send us a sample report with test data which reproduces the issue for analysis.

Thank you.
Frederic73
Posts: 7
Joined: Wed Feb 20, 2019 10:24 am

Re: add value to a SUM

Post by Frederic73 »

Hi
i tried to join a report
Thanks
Attachments
Page.zip
(7.73 KiB) Downloaded 111 times
Lech Kulikowski
Posts: 6245
Joined: Tue Mar 20, 2018 5:34 am

Re: add value to a SUM

Post by Lech Kulikowski »

Hello,

Please send us test data for your report and detailed description.

Thank you.
Post Reply