Page 1 of 1

Sum in group footer's child band

Posted: Fri Jun 26, 2015 1:02 pm
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

Re: Sum in group footer's child band

Posted: Fri Jun 26, 2015 1:46 pm
by Alex K.
Hello,

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

Thank you.

Re: Sum in group footer's child band

Posted: Fri Jun 26, 2015 2:29 pm
by Tobias
Great! Thanks!

Re: Sum in group footer's child band

Posted: Sat Jun 27, 2015 4:42 am
by Andrew
Have a nice weekend, Tobias!