JasperReport table column sum for page

0

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
19
Joined: Dec 2 2015 - 11:44am
Last seen: 3 years 11 months ago

2 Answers:

0

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

hozawa's picture
52592
Joined: Apr 24 2010 - 4:31pm
Last seen: 5 months 1 week ago
1

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
19
Joined: Dec 2 2015 - 11:44am
Last seen: 3 years 11 months ago
Feedback
randomness