iReport Calculations on sub-report return value variable in Main Report Group Footer
posted 4 years ago
I am using iReport 4.8 and report structure is as follows
detail band has only subreport
Subreport is summing up amt field and returning that value to main Report.
In group footer that returned value is being displayed and its working correctly.
Just below the Total Amount field I want to display tax Amt by using another variable with expression $V(TotAmt)*$F(taxRate)/100.00
but its being displayed as 0.00. For debug purpose I displayed taxRate field its also showing correct value of 7%.
Now I am puzzled that whether sub-report vales can be used in calculations in main Report ?