[#14056] - Report with Groups: Group-Calculation (sum) invalid in before pagebreak

Category:
Bug report
Priority:
Normal
Status:
New
Project: Severity:
Minor
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:

I have created a report with two groups using group-sums . The last group-sum before the pagebreak shows the wrong value.

All group-calculations (sum) are correct - except the last one. This happens when the report places the group-footer for the 1st group on the next page - in this case the group-calculation of the last group is wrong.

The group values for the yearweek group should be as follows:

2022/01 10
2022/02 35
2022/03 60
2022/04 85
2022/05 20

But when the report produces a page-break placing only the groupFooter on the next page - the last group reads like this:

2022/05 85 <- displays the value from the prevous group.

Executing the attached report in the Tibco JaspersoftStudio 6.18 will show the described error every time - The Report-Data itself is provided within the select-statement (use an MYSQL-Datasource).

- Changing band-height will solve the this problem
- Changing number of data-rows will solve the this problem

But the problem underneath remains ... only the case to reproduce the prodlem will be different.

AttachmentSize
Binary Data Report10.46 KB
group report
samverner18's picture
Joined: Jun 12 2018 - 7:52am
Last seen: 2 weeks 3 hours ago

1 Comment:

#1

See the attached screenshot for bug-representation

I had this issue posted in forum before - no solutions yet:
https://community.jaspersoft.com/questions/1193306/report-groups-group-c...

AttachmentSize
Image icon grupsumbug_2022-02-14_10h48_14.png94.13 KB
Feedback