Hello all,
New to Crystal reports and this forum, but feeling very optimistic ;-)
I have a report that shows the number of trips performed by each driver for the selected date range. This is established via a cross tab. Very simple report, list of drivers in the first column and each day in the range following.
I am having a problem creating a formula that will show the average of trips for each driver for the established range, but taking into consideration only the days that the driver actually worked.....
As an example, lets say our range is Monday to Friday (5 days) and the total trips for driver A is 15. This driver only worked Monday, Wednesday and Friday so his average should be 15/3=5 and not the standard 15/5=3 that the computer would assume.....
Any suggestions?
Thanking you all in advance.....
New to Crystal reports and this forum, but feeling very optimistic ;-)
I have a report that shows the number of trips performed by each driver for the selected date range. This is established via a cross tab. Very simple report, list of drivers in the first column and each day in the range following.
I am having a problem creating a formula that will show the average of trips for each driver for the established range, but taking into consideration only the days that the driver actually worked.....
As an example, lets say our range is Monday to Friday (5 days) and the total trips for driver A is 15. This driver only worked Monday, Wednesday and Friday so his average should be 15/3=5 and not the standard 15/5=3 that the computer would assume.....
Any suggestions?
Thanking you all in advance.....