Dear All
I need your help.
My source is an Excel spreadsheet and am using Crystal Reports XI.
My report is grouped as follows:
Group 1: client name
Group 2: stock
I have set up a formula field to sum the Net+/-Charges for each group of Stock for each client (@SubTotal Net +/- Charges), which is placed in Group Footer 2.
Example:
Bloggs, Fred
Date Stock Net+/-Charges
10/09/06 JPMorgan 10,000
11/09/06 JPMorgan -12,000
2,000
Now, below @SubTotal Net +/- Charges (currently 2,000) I need to show the percentage profit.
I have tried this formula:
if {@SubTotal Net +/- Charges} = 0 then 0 else
{table.Net +/- Chges} % {@SubTotal Net +/- Charges}
but it seems to be showing the percentage of all the JPMorgan stocks, and not just for the client and stock.
Any help would be appreciated.
Regards
Deb100
I need your help.
My source is an Excel spreadsheet and am using Crystal Reports XI.
My report is grouped as follows:
Group 1: client name
Group 2: stock
I have set up a formula field to sum the Net+/-Charges for each group of Stock for each client (@SubTotal Net +/- Charges), which is placed in Group Footer 2.
Example:
Bloggs, Fred
Date Stock Net+/-Charges
10/09/06 JPMorgan 10,000
11/09/06 JPMorgan -12,000
2,000
Now, below @SubTotal Net +/- Charges (currently 2,000) I need to show the percentage profit.
I have tried this formula:
if {@SubTotal Net +/- Charges} = 0 then 0 else
{table.Net +/- Chges} % {@SubTotal Net +/- Charges}
but it seems to be showing the percentage of all the JPMorgan stocks, and not just for the client and stock.
Any help would be appreciated.
Regards
Deb100