elansienna
Technical User
I have been tasked with developing a report that should show the maximum and average number of users for each hour of the day for each day of the week dating back to the beginning of the year. The enduser will enter a Monday's day which drives the weekly list for the report. For example the report should look like the following after the enduser enters Monday, Feb. 19:
History-Work Week Monday Tuesday
Hour MAX AVG MAX AVG Feb-19 MAX AVG Feb-20
0 346 228 309 159 188 337 288 34
1 319
2 214
3 136
The data source is an excel spreadsheet with the following columns Date (date field),Day of Wk(number field), Hour (number field),User Count (number field) and I'm using Crystal Reports XI.
I have two questions:
1. Does anyone have a formula for determining the maximum and average based on the all the values in the spreadsheet and,
2. I can use a parameter to show a week's worth of data based on the enduser's choosing, but doesn't that limit the calculation on the formula to just the result set? The calculation should date back to the first of year.
I'm sorry for the length of this message, but I wanted to share as much as possible to provide a clearer picture of what I'm attempting to do. I appreciate your feedback. Thanks.
History-Work Week Monday Tuesday
Hour MAX AVG MAX AVG Feb-19 MAX AVG Feb-20
0 346 228 309 159 188 337 288 34
1 319
2 214
3 136
The data source is an excel spreadsheet with the following columns Date (date field),Day of Wk(number field), Hour (number field),User Count (number field) and I'm using Crystal Reports XI.
I have two questions:
1. Does anyone have a formula for determining the maximum and average based on the all the values in the spreadsheet and,
2. I can use a parameter to show a week's worth of data based on the enduser's choosing, but doesn't that limit the calculation on the formula to just the result set? The calculation should date back to the first of year.
I'm sorry for the length of this message, but I wanted to share as much as possible to provide a clearer picture of what I'm attempting to do. I appreciate your feedback. Thanks.