We ship many trucks for numerous customers each day. Each truck gets a ticket number. so one ticket equals 1 truck. so each day I get something like this (but with about 200 tickets per day)
Date Ticket Company Weeknumber
5/1 1 Mary's Trucking 18
5/1 2 Laura's trucking 18
5/1 3 Carrie's trucking 18
5/1 4 Laura's trucking 18
I want a pivot table that shows the trucking company, week number, and average number of times per day that that name showed up...so if Mary's trucking had 12 trucks on 5/1 and 15 on 5/2 and 13 on 5/3 it would say that for week 18 Mary's trucking had an average of 14.3 trucks per day for that week
Sample pivot style desired
Company Week Number Avg trucks per day
Mary's trucking 16 12
17 16.2
18 14.3
Carrie's Trucking 16 22
17 22
18 20.4
......
I can get the count of all the trucks from the week (so 84 for week 16 of Mary), but not the average.
(I added a second company row so that one company name could be in the "Row labels" and the other could be in the "values" section)
I tried a calculated field but not sure I am putting in the correct formula or doing it correctly.
Date Ticket Company Weeknumber
5/1 1 Mary's Trucking 18
5/1 2 Laura's trucking 18
5/1 3 Carrie's trucking 18
5/1 4 Laura's trucking 18
I want a pivot table that shows the trucking company, week number, and average number of times per day that that name showed up...so if Mary's trucking had 12 trucks on 5/1 and 15 on 5/2 and 13 on 5/3 it would say that for week 18 Mary's trucking had an average of 14.3 trucks per day for that week
Sample pivot style desired
Company Week Number Avg trucks per day
Mary's trucking 16 12
17 16.2
18 14.3
Carrie's Trucking 16 22
17 22
18 20.4
......
I can get the count of all the trucks from the week (so 84 for week 16 of Mary), but not the average.
(I added a second company row so that one company name could be in the "Row labels" and the other could be in the "values" section)
I tried a calculated field but not sure I am putting in the correct formula or doing it correctly.