Hello, I'm in a similar case like this one. But indead of having two variables (X1, Y1), I have just one variable (TOTAL) declared with calculation="System" and initial value new Long(0l). All my subreport give me a returnValue in $V{TOTAL}with calculation="Sum". (Pseudo code like previous one! :whistle: ) for each row in MainReport's Detail{ $V{TOTAL} += subreport1(...); $V{TOTAL} += subreport2(...); [...] $V{TOTAL} += subreportn(...); } In MainReport's Summarydisplay ($V{TOTAL}) Here an example : [file name=Sum_ReturnValues.zip size=4688]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/Sum_ReturnValues.zip[/file] My problem is when I want to display $V{TOTAL}. It just give me the sum of returnValue from the last subreport. Something like thaht : $V{TOTAL} = Sum( subreportn(...)) ; Is it a bug or just a restriction of JasperReport ?? [NB : I'm using JasperReport & iReport 1.3.0] Post edited by: lefrancky, at: 2007/02/09 09:33