Hi,
I have a data source in the following format with date, hour and Month derived from the @Timestamp per hour field
The data is used in a pivot table as below which is updated with new data periodically throughout a month.
I would like to identify the hour(s) that the max count in each day occurred and display these something like below. I have manually added the values in When as example and to show the max may occur one or more times within the 24hr period.
Any advice on how the When column could be auto-populated would be gratefully received.
Thanks
I have a data source in the following format with date, hour and Month derived from the @Timestamp per hour field
@Timestamp per hour | Count of records | date | hour | Month |
01/04/2021 00:00 | 8 | 01/04/2021 | 00:00 | Apr-21 |
01/04/2021 01:00 | 12 | 01/04/2021 | 01:00 | Apr-21 |
The data is used in a pivot table as below which is updated with new data periodically throughout a month.
Hour | |||||||||||||||||||||||||
Date | 00:00 | 01:00 | 02:00 | 03:00 | 04:00 | 05:00 | 06:00 | 07:00 | 08:00 | 09:00 | 10:00 | 11:00 | 12:00 | 13:00 | 14:00 | 15:00 | 16:00 | 17:00 | 18:00 | 19:00 | 20:00 | 21:00 | 22:00 | 23:00 | Grand Total |
01-Apr | 8 | 12 | 2 | 3 | 1 | 3 | 0 | 1 | 5 | 11 | 8 | 3 | 17 | 15 | 8 | 10 | 11 | 9 | 17 | 5 | 10 | 9 | 8 | 6 | 182 |
02-Apr | 8 | 7 | 3 | 5 | 5 | 2 | 0 | 1 | 8 | 7 | 8 | 8 | 9 | 7 | 12 | 15 | 11 | 6 | 6 | 6 | 10 | 16 | 9 | 6 | 175 |
03-Apr | 6 | 10 | 8 | 1 | 2 | 2 | 0 | 1 | 5 | 8 | 10 | 5 | 6 | 8 | 8 | 10 | 12 | 6 | 5 | 10 | 11 | 8 | 7 | 17 | 166 |
04-Apr | 15 | 19 | 4 | 6 | 1 | 1 | 0 | 2 | 7 | 9 | 6 | 11 | 10 | 16 | 12 | 7 | 11 | 13 | 13 | 15 | 14 | 8 | 13 | 6 | 219 |
05-Apr | 8 | 1 | 4 | 2 | 2 | 4 | 0 | 1 | 5 | 8 | 7 | 6 | 7 | 6 | 4 | 12 | 11 | 20 | 10 | 12 | 16 | 9 | 11 | 7 | 173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 12 | 14 | 9 | 18 | 16 | 9 | 10 | 7 | 9 | 8 | 8 | 188 |
16-Apr | 10 | 5 | 8 | 2 | 3 | 2 | 1 | 1 | 8 | 8 | 11 | 9 | 8 | 17 | 7 | 2 | 14 | 11 | 10 | 20 | 9 | 6 | 14 | 10 | 196 |
17-Apr | 11 | 13 | 8 | 4 | 2 | 1 | 0 | 0 | 0 | 0 | 5 | 12 | 7 | 7 | 8 | 11 | 16 | 13 | 12 | 14 | 9 | 11 | 10 | 12 | 186 |
18-Apr | 10 | 10 | 8 | 12 | 2 | 2 | 0 | 1 | 7 | 12 | 11 | 10 | 11 | 9 | 15 | 9 | 6 | 16 | 12 | 8 | 12 | 5 | 6 | 10 | 204 |
19-Apr | 9 | 0 | 7 | 9 | 3 | 4 | 0 | 1 | 4 | 17 | 17 | 8 | 7 | 15 | 17 | 9 | 10 | 13 | 10 | 6 | 7 | 5 | 7 | 4 | 189 |
20-Apr | 14 | 5 | 9 | 3 | 2 | 3 | 1 | 1 | 8 | 13 | 14 | 12 | 16 | 12 | 8 | 12 | 13 | 11 | 3 | 5 | 16 | 8 | 6 | 3 | 198 |
21-Apr | 10 | 4 | 2 | 3 | 1 | 1 | 3 | 3 | 4 | 19 | 9 | 15 | 8 | 14 | 8 | 21 | 11 | 1 | 15 | 5 | 14 | 5 | 5 | 12 | 193 |
22-Apr | 2 | 2 | 5 | 7 | 0 | 0 | 0 | 2 | 11 | 17 | 21 | 16 | 15 | 12 | 10 | 13 | 13 | 11 | 12 | 3 | 14 | 14 | 8 | 4 | 212 |
Grand Total | 204 | 146 | 110 | 93 | 46 | 41 | 20 | 45 | 114 | 207 | 217 | 200 | 205 | 235 | 194 | 234 | 243 | 239 | 203 | 195 | 213 | 198 | 181 | 190 | 3973 |
I would like to identify the hour(s) that the max count in each day occurred and display these something like below. I have manually added the values in When as example and to show the max may occur one or more times within the 24hr period.
Date | Max in Hr | When |
01-Apr | 17 | 12:00 & 18:00 |
02-Apr | 16 | 21:00 |
03-Apr | 17 | |
04-Apr | 19 | |
05-Apr | 20 | |
06-Apr | 17 | |
07-Apr | 14 | |
08-Apr | 17 | |
09-Apr | 19 | |
10-Apr | 14 | |
11-Apr | 22 | |
12-Apr | 14 | |
13-Apr | 15 | |
14-Apr | 18 | |
15-Apr | 18 | |
16-Apr | 20 | |
17-Apr | 16 | |
18-Apr | 16 | |
19-Apr | 17 | 09:00, 10:00, & 14:00 |
20-Apr | 16 | |
21-Apr | 21 | |
22-Apr | 21 |
Any advice on how the When column could be auto-populated would be gratefully received.
Thanks