Hello: I have report that uses a calculation on two fields to get a percentage.
I am using Crystal Reports 10.
This report is for items my particular user sells on eBay.
I would like to sort it on the percentage. The problem I am having is that the user wants a group on a field called Title. Title is the only group.
The formulas I am using do this:
1. The first formula does a running total on the records, resetting every time Group 1 (Title) changes.
2. The second formula sums up Bids and also resets every time Group 1 changes. For example, let's say we have 6 items listed and 3 bids, some will have bids, some not. The 3rd formula would be 3/6 or 50%.
3. My third formula takes Bids divided by the Group 1 count on the title. I call it @ratio.
The user wants the report to sort on the @ratio, from highest to lowest, so he can see what he's selling well and not.
I tried a Cross-Tab. I tried a Subreport. I tried doing more groups. I got nothing that seems to work.
I told the user that the @ratio formula is calculated at run-time, and I didn't think Crystal Reports can do this sort on a second pass type of idea. He still wants it sorted because the report is several hundred pages long and he doesn't want to sit there and pick them out.
Any ideas?
I thought about exporting the report to Excel then doing a sort on it, and it works - but this is just a work around for now.
Thanks.
I am using Crystal Reports 10.
This report is for items my particular user sells on eBay.
I would like to sort it on the percentage. The problem I am having is that the user wants a group on a field called Title. Title is the only group.
The formulas I am using do this:
1. The first formula does a running total on the records, resetting every time Group 1 (Title) changes.
2. The second formula sums up Bids and also resets every time Group 1 changes. For example, let's say we have 6 items listed and 3 bids, some will have bids, some not. The 3rd formula would be 3/6 or 50%.
3. My third formula takes Bids divided by the Group 1 count on the title. I call it @ratio.
The user wants the report to sort on the @ratio, from highest to lowest, so he can see what he's selling well and not.
I tried a Cross-Tab. I tried a Subreport. I tried doing more groups. I got nothing that seems to work.
I told the user that the @ratio formula is calculated at run-time, and I didn't think Crystal Reports can do this sort on a second pass type of idea. He still wants it sorted because the report is several hundred pages long and he doesn't want to sit there and pick them out.
Any ideas?
I thought about exporting the report to Excel then doing a sort on it, and it works - but this is just a work around for now.
Thanks.