oanion
IS-IT--Management
- Jun 18, 2004
- 55
I have the following sample database table
[ul]
[li]Client string[/li]
[li]Placeddate date[/li]
[li]Placedbalance currency[/li]
[/ul]
I have a report have set up a report that is supposed to look like the following:
Client January February Totals
BOA 1000 2000 3000
Citibank 500 1000 1500
Total 1500 3000 4500
*****The report will show all 12 months.******
I cannot seem to get the correct totals for each client name for a particular month and the row and column totals. I took the following steps to begin:
1. Group by the clientname
2. I created a formula for each month (column). The formula for January is:
*************************************
if GroupName ({table.client}) = {table.client} AND
month(placeddate} = 1.0
then
sum({table.PlacedBalance},{table.client});
***************************************
• This formula will total balances for all months for one particular client. It totally ignores the portion of the formula which specifies the month.
3. I’m not sure how to get the row and column totals since Crystal will not allow you to summarize a sum. I thought I could do a running total, by specifying to evaluate for a formula, however, it was unsuccessful.
I would be very grateful for some assistance.
Sincerely
Vasheti
[ul]
[li]Client string[/li]
[li]Placeddate date[/li]
[li]Placedbalance currency[/li]
[/ul]
I have a report have set up a report that is supposed to look like the following:
Client January February Totals
BOA 1000 2000 3000
Citibank 500 1000 1500
Total 1500 3000 4500
*****The report will show all 12 months.******
I cannot seem to get the correct totals for each client name for a particular month and the row and column totals. I took the following steps to begin:
1. Group by the clientname
2. I created a formula for each month (column). The formula for January is:
*************************************
if GroupName ({table.client}) = {table.client} AND
month(placeddate} = 1.0
then
sum({table.PlacedBalance},{table.client});
***************************************
• This formula will total balances for all months for one particular client. It totally ignores the portion of the formula which specifies the month.
3. I’m not sure how to get the row and column totals since Crystal will not allow you to summarize a sum. I thought I could do a running total, by specifying to evaluate for a formula, however, it was unsuccessful.
I would be very grateful for some assistance.
Sincerely
Vasheti