Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Summarise on Formula Field

Status
Not open for further replies.

rpmel

Technical User
Jan 8, 2009
9
Hi Everyone!

I've created a report to measure leadtime taken from the time a customer places an order, to the time it gets invoiced on dispatch.

I've used Ken Hamady's workday formula, and then created another formula field called ONTIME, which looks like this:

Code:
If {@WORKDAYS} <= Average ({@WORKDAYS}) then
1 else 0

The idea being, to calculate the average leadtime, and then count up how many orders were processed, and of those, how many were within the average leadtime.

I'm stuck on the summary - the formula above flags all the orders correctly, but I don't get an option to summarise on the ONTIME field if I use INSERT | SUMMARY.

The field is formatted as a number, so why can't I summarise on it?

Any ideas?



 
You can sum it because it depends on a summary.

Instead, use a variable and increment it when the condition is true.

- Ido

view, email, export, burst, distribute, and schedule Crystal Reports.
 
Thanks IdoMillet,

Can you please give me some help? How do I do that? I've only been messing around in Crystal for a week. I'm using Crystal XI.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top