Tips and Tricks
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Tips and Tricks
Message Icon Topic: Total Count Not Tallying to Group Sum Post Reply Post New Topic
Author Message
terrikwei
Newbie
Newbie
Avatar

Joined: 20 Oct 2008
Location: Malaysia
Online Status: Offline
Posts: 3
Quote terrikwei Replybullet Topic: Total Count Not Tallying to Group Sum
    Posted: 20 Oct 2008 at 10:12pm
hey all,
 
Need a lil help ere..
 
i have this formula as below:
if {@differtimeinMIN} >= 0 and {@differtimeinMIN} <= 15 then
    1
else
    0
 
so replicating the above formula to specific groups like 0-15,15-30,30-45,45-60,>60
 
The Question is :
My Group Summary doesnt tally with my Count of records
 
say Total Count on Orders = 695 used basic count function
but results from groups
0-15=209,15-30=190,30-45=82,45-60=65,>60=176
Totaling to 722
 
Any Suggestion or explanation to how am i getting such untally value?
 
Help is kindly appreciated
 
Regards,
Terri
IP IP Logged
judylynn
Newbie
Newbie
Avatar

Joined: 17 Nov 2008
Location: United States
Online Status: Offline
Posts: 22
Quote judylynn Replybullet Posted: 18 Nov 2008 at 7:45am
I think you need to change the ranges of numbers in your formula.
Instead of 0-15, 15-30, 30-45, etc...
try using 0-15, 16-30, 31-45, etc....
You are duplicating numbers so they are being counted twice.
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.