Jump to content
Changes to the Jaspersoft community edition download ×

Displaying column totals URGENT!!!!!!Pls help


Recommended Posts

By: suresh D - dsuresh

Displaying column totals URGENT!!!!!!Pls help

2003-12-26 00:43

Hi Teodor,

I have the following columns,

NetflowSum cumulativeflowSum.

now the values will be in a matrix form

NetflowSum CumulativeflowSum

10000 10000

-20000 -10000

if you see this example, netflowsum is a summation of field $F{netflow} obtained from the database

and $V{cumulativeTot} is summation of $V{netflowsum} as shown above.To acheive this i have declared a varible $V{cumulativeTot}

with calculationType as "Sum" and gets reset on a certain group change.

Pls note that i have declared a variable $V{Netflowsum} and its a summation of the dabase field $F{Netflow}.

And the cumulativeTot is summation of the variable $V{Netflowsum}

now the problem is...

i get the values in the following fashion

Netflow Cumulative

10000 10000

-20000 300000

Somehow absolute value of the netflow is getting added in the second row.

Pls let me know what could be the reason....



By: Teodor Danciu - teodord

RE: Displaying column totals URGENT!!!!!!Pls

2004-01-09 14:44




I have tested this and nothing seems to be wrong.

Please send me your report design.




Thank you,


Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...