Click here to Skip to main content
15,938,682 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
The report i want to create is

       1 3 5
       2 4 5
Total: 3 7 10

What I have tried:

I tried the summary and the running total function in the crystal report field explorer
and chose sum but it just counts the number of the records
what can be the possible problem
or alternate solutions to compute the sum of the values in the crystal report?
Updated 12-Oct-21 6:18am

1 solution

See the responses to this CP post HOW to sum column in crystal report[^] or any of the links in the "Related Questions" list to the right of this post.

If you are just getting a count of the number of records then you have forgotten to change the operation to "Sum" from the default "Count"
Share this answer
Beginner213456 12-Oct-21 21:36pm    
No, i definitely changed it to sum.
i also tried doing it in the formula and added the formula
Sum({table.Field}) but it says: a number field and a curruncy amount field is required here
CHill60 13-Oct-21 11:39am    
table.Field is a numeric type (not a string)?
Beginner213456 14-Oct-21 3:19am    
Yes, the fields I want to be calculated are integers
Beginner213456 12-Oct-21 22:29pm    
The same if i change it to Average and etc.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900