Hi All,
I have a major problem with Pivot – here a short description. I’m trying to calculate how many units per departure we have on a ferry. The raw data looks like following:
Now if I make a calculated field for units per departure I get for the 18:30 8 units on 3 departures – but the correct value would be 8 units on 1 departure, and for the 20:30 I get 38 units on 2 departures when the correct answer would be 28 units on 1 departure. How could I make the pivot table understand the logic Im looking for?
All possible help and thoughts are appreciated!
Hakan
I have a major problem with Pivot – here a short description. I’m trying to calculate how many units per departure we have on a ferry. The raw data looks like following:
Date | Month | Time | Product | Length | Amount | Departures |
23.3.2020 | March | 18:30 | CAR | 6 | 2 | 1 |
23.3.2020 | March | 18:30 | VAN | 8 | 2 | 1 |
23.3.2020 | March | 18:30 | CARAVAN | 12 | 4 | 1 |
23.3.2020 | March | 20:30 | CAR | 6 | 20 | 1 |
23.3.2020 | March | 20:30 | VAN | 8 | 8 | 1 |
Now if I make a calculated field for units per departure I get for the 18:30 8 units on 3 departures – but the correct value would be 8 units on 1 departure, and for the 20:30 I get 38 units on 2 departures when the correct answer would be 28 units on 1 departure. How could I make the pivot table understand the logic Im looking for?
All possible help and thoughts are appreciated!
Hakan