Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Technical Questions
Message Icon Topic: Running totals on Actuals Data Post Reply Post New Topic
Author Message
akcho
Newbie
Newbie


Joined: 01 Oct 2013
Online Status: Offline
Posts: 2
Quote akcho Replybullet Topic: Running totals on Actuals Data
    Posted: 02 Oct 2013 at 3:08am
Hi,

I'm currently on Crystal Reports 2008 and I have a situation where I'm looking to setup Running Totals for each month but to reference another data set.
 
In the example below, I've created the Actuals list but need help with the Cumulative List creation which as part of the running totals needs values from the Actuals List. I believe I'll need to use "previous" value in conjunction with group by in order to get running totals for each month but I am not sure how to syntax this. 

Actuals List
Month         Count
Oct                  1
Nov                 2
Dec                 2
Jan                  3
etc..

Cumulative List
Month          Count
Oct                 1 (Oct Actuals)
Nov                3 (Cum Oct + Actuals Nov)
Dec                5 (Cum Nov + Actuals Dec)
Jan                8 (Cum Dec + Actuals Jan)

Thank you for your help in advance!
IP IP Logged
kostya1122
Senior Member
Senior Member
Avatar

Joined: 13 Jun 2011
Online Status: Offline
Posts: 475
Quote kostya1122 Replybullet Posted: 02 Oct 2013 at 6:26am
if you group on month
you could try to use summary like
count(actual,month) + count(cumulative,month)


IP IP Logged
akcho
Newbie
Newbie


Joined: 01 Oct 2013
Online Status: Offline
Posts: 2
Quote akcho Replybullet Posted: 02 Oct 2013 at 8:53am

Thank you for the reply. How would I go about syntax that to include running totals? Would I use the Running Totals function or independently create my own using formulas?

Thank you.
IP IP Logged
kostya1122
Senior Member
Senior Member
Avatar

Joined: 13 Jun 2011
Online Status: Offline
Posts: 475
Quote kostya1122 Replybullet Posted: 02 Oct 2013 at 9:17am
i rarely use running totals
and maybe i'm missing something, but
this is not a running total it is a
summary formula you place in group header or footer
this is the syntax
count(actual,month) + count(cumulative,month)
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.016 seconds.