COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: ahmerzaidi on 10 Aug 2012 06:39:48 AM

Title: RESOLVED: Last Running Aggregate value in Summary
Post by: ahmerzaidi on 10 Aug 2012 06:39:48 AM
I'm having trouble figuring out how to display the last value of a running aggregate (in this case running-total) of a group with in the summary section of a list.

No matter what I tried to do I was always getting the beginning value.  So how to I display the final running aggregate value of a group in the summary row?


Example:
What I Get







LabelDebitCreditBalance
Beginning Balance100
A1600260
B040220
C100230
Summary17040100


What I Need







LabelDebitCreditBalance
Beginning Balance100
A1600260
B040220
C100230
Summary17040230
Title: Re: RESOLVED: Last Running Aggregate value in Summary
Post by: ahmerzaidi on 10 Aug 2012 07:15:11 AM
Issue Solved:

I created a copy of the data item that calculated the running-total and replaced "Running-Total" with "Total"... Worked for what I needed to do.
Title: Re: RESOLVED: Last Running Aggregate value in Summary
Post by: RL_Boston on 12 Dec 2012 04:54:51 PM
Hi - I'm trying to figure out your first step, What is your calculation for the Balance Column?

                          (Debit - Credit) = Balance
Then, Balance + (Debit - Credit) = New Balance