# Jasperreport's problems ## Set the sum of Columns ### Problem SUM function only sums results from current page! ### Solution ![](https://i.imgur.com/Wjm4BFy.png) change the Reset type "Column" to "Report" ![](https://i.imgur.com/Zo5RATY.png) ### other Problem If you were to use the methods above, and the problem would not have been solved. You could try changing the position of the Sum-field to the Summary Band. ![](https://i.imgur.com/bIVUBeJ.png) ## Set every subreport start with a new page ### Problem ![](https://i.imgur.com/5YAJcLS.png) ### Solution Add runToBottom = "true" into subreport ![](https://i.imgur.com/FDFRT5F.png) Effect: ![](https://i.imgur.com/P4pNmwR.png)