how to find out the column total

By: Dharmendra Sharma - dkumar_sharma
how to find out the column total
2005-07-12 00:01
Hi All,


I need to implement the total of a particular column , which is to be displayed at bottom any where inside the layout. Any one please help me out.

thanks & regards,
dkumar_sharma




By: BrianS - brian9420
RE: how to find out the column total
2005-07-12 04:37
Create a variable that sums up your column field name.
Brian




By: Dharmendra Sharma - dkumar_sharma
RE: how to find out the column total
2005-07-15 23:26
Hi Brian,

I could create a variable but I am not getting how to do the sum of the column, can u please give me more detail.

Assume that i have column like

price
-------
10 (here column name is $F{price})
29
30
----------
total 59

wating for ur reply,

thanks & regards,
dkumar_sharma





By: Dharmendra Sharma - dkumar_sharma
RE: how to find out the column total
2005-07-15 23:59
Hi All,

Thanks a lot, I got it.






By: propsystem - propsystem
RE: how to find out the column total
2005-09-02 21:47
i have problem to count different value in one column;e.g:

Name Sex
1- Adam F
2-Peter F
3-Susan M

i want to count how many female and how many male base on sex status.anybody can help me...




By: miami - enrico1985
RE: how to find out the column total
2005-10-27 00:03
see my message of the total, there is the explanation of this case..
2005 IR Help's picture
Joined: Aug 9 2006 - 3:40am
Last seen: 17 years 1 month ago

1 Answer:

you have to mention the variable properties as "total"

neppo19's picture
12
Joined: Nov 23 2012 - 8:45pm
Last seen: 10 years 10 months ago
Feedback
randomness