Sum in group footer's child band

Stimulsoft Reports.NET discussion
Post Reply
Tobias
Posts: 104
Joined: Mon Nov 24, 2008 8:44 am

Sum in group footer's child band

Post by Tobias »

Looks like a bug to me, or am I doing something wrong?:

I would like to use child bands for group footers. Unfortunately Sum() on a group footers child band does not sum up the totals from the group, but from the whole dataset.

I've attached an example for the following sample data:

Code: Select all

var stiReport = new StiReport();
stiReport.RegData("Foo", new []
{
    new { Group = "A", Value = 1.00m},
    new { Group = "A", Value = 2.00m},
    new { Group = "A", Value = 3.00m},
    new { Group = "B", Value = 1.00m},
    new { Group = "B", Value = 2.00m},
    new { Group = "B", Value = 3.00m},
});
stiReport.Design(); // Ok
Tobias
Attachments
test.mrt
(9.93 KiB) Downloaded 179 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Sum in group footer's child band

Post by Alex K. »

Hello,

The issue is fixed.
The fix will be available in the next build in the next week.

Thank you.
Tobias
Posts: 104
Joined: Mon Nov 24, 2008 8:44 am

Re: Sum in group footer's child band

Post by Tobias »

Great! Thanks!
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Re: Sum in group footer's child band

Post by Andrew »

Have a nice weekend, Tobias!
Post Reply