ireport - Calculate intermediate summary in jasper reports -


i trying calculate intermediate result in jasper(using ireport designer),intermediate result shown in bold below,

unit-id  currency  amount
a01       usd           150
a01       usd           300
a01       cad           200
a01       cad           200
--------------------------------
a01       usd           450
a01       cad           400
--------------------------------
a02       rs              150
a02       rs              300
a02       cad           200
a02       cad           150
--------------------------------
a02       rs              450
a02       cad           350
-------------------------------

is there way using same records (without hitting db again calculate summary) ? like, calculate intermediate sum currency-wise , display summary when unit changes(a01 a02).? if group unit-id , currency able display result when currency changes, want display it(all together) when unit-id changes,

i using stored procedure result in jasper.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -