JasperReport table column sum for page

I need add column sum to column footer of table object for each page.

If create variable and set sum aggregation function than sum value appear for full report. But i need sum column data for each page, not for full report.

Can anyone help me solve this problem?

actin's picture
79
Joined: Dec 2 2015 - 11:44am
Last seen: 7 years 3 months ago

2 Answers:

Just select "Reset type" to "Page" in your variable properties.

hozawa's picture
170669
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 9 months ago

I did try it. But if i try compile with resetType="Page" i have compile error "Variable var of dataset  cannot have Column or Page reset tyoe"

actin's picture
79
Joined: Dec 2 2015 - 11:44am
Last seen: 7 years 3 months ago
Feedback
randomness