Hi,
I have a table in PowerPivot of some 500 000 rows with different vehicle departure times, including deviations from schedule. There are a number of different route IDs (PathIdent), each route has a number of destinations (Location) where the vehicle stops. For each route there are also a number of voyages, maybe but not for sure with the same departure time (Departure). There are no voyage numbers but all rows for each voyage has the same planned departure date(Departure).
I would like to show deviation per route and location over time to determine where in the schedule we lose time. To do that I need to index each destination within each route so that I can sort them. The question – how do I do that in a PowerPivot table looking like the example below?
Brgds,
Caj
I have a table in PowerPivot of some 500 000 rows with different vehicle departure times, including deviations from schedule. There are a number of different route IDs (PathIdent), each route has a number of destinations (Location) where the vehicle stops. For each route there are also a number of voyages, maybe but not for sure with the same departure time (Departure). There are no voyage numbers but all rows for each voyage has the same planned departure date(Departure).
I would like to show deviation per route and location over time to determine where in the schedule we lose time. To do that I need to index each destination within each route so that I can sort them. The question – how do I do that in a PowerPivot table looking like the example below?
Brgds,
Caj
[TABLE="class: cms_table, width: 848"]
<tbody>[TR]
[TD]PathIdent
[/TD]
[TD]Departure
[/TD]
[TD]PathDepLoc
[/TD]
[TD]Location
[/TD]
[TD]LocationStatus
[/TD]
[TD]TimeAtLocation
[/TD]
[TD]Deviation
[/TD]
[/TR]
[TR]
[TD]41761
[/TD]
[TD]2012-05-11 18:00
[/TD]
[TD]HTG
[/TD]
[TD]Ros
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 18:27
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]41761
[/TD]
[TD]2012-05-11 18:00
[/TD]
[TD]HTG
[/TD]
[TD]Tsg
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 19:03
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]41761
[/TD]
[TD]2012-05-11 18:00
[/TD]
[TD]HTG
[/TD]
[TD]Åd
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 19:29
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]41615
[/TD]
[TD]2012-05-11 18:00
[/TD]
[TD]KIL
[/TD]
[TD]Gms
[/TD]
[TD]Arrival
[/TD]
[TD]2012-05-11 18:19
[/TD]
[TD]-10
[/TD]
[/TR]
[TR]
[TD]41615
[/TD]
[TD]2012-05-11 18:00
[/TD]
[TD]KIL
[/TD]
[TD]Kil
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 18:00
[/TD]
[TD]-12
[/TD]
[/TR]
[TR]
[TD]41615
[/TD]
[TD]2012-05-11 18:00
[/TD]
[TD]KIL
[/TD]
[TD]El
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 18:11
[/TD]
[TD]-10
[/TD]
[/TR]
[TR]
[TD]41761
[/TD]
[TD]2012-05-11 18:00
[/TD]
[TD]HTG
[/TD]
[TD]Htg
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 18:00
[/TD]
[TD]-58
[/TD]
[/TR]
[TR]
[TD]41761
[/TD]
[TD]2012-05-11 18:00
[/TD]
[TD]HTG
[/TD]
[TD]Fsm
[/TD]
[TD]Arrival
[/TD]
[TD]2012-05-11 19:59
[/TD]
[TD]17
[/TD]
[/TR]
[TR]
[TD]41720
[/TD]
[TD]2012-05-11 18:26
[/TD]
[TD]SUC
[/TD]
[TD]Töv
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 18:37
[/TD]
[TD]-168
[/TD]
[/TR]
[TR]
[TD]41720
[/TD]
[TD]2012-05-11 18:26
[/TD]
[TD]SUC
[/TD]
[TD]Vm
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 18:47
[/TD]
[TD]-172
[/TD]
[/TR]
[TR]
[TD]41720
[/TD]
[TD]2012-05-11 18:26
[/TD]
[TD]SUC
[/TD]
[TD]To
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 19:19
[/TD]
[TD]-173
[/TD]
[/TR]
[TR]
[TD]41720
[/TD]
[TD]2012-05-11 18:26
[/TD]
[TD]SUC
[/TD]
[TD]Nsö
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 18:54
[/TD]
[TD]-172
[/TD]
[/TR]
[TR]
[TD]41720
[/TD]
[TD]2012-05-11 18:26
[/TD]
[TD]SUC
[/TD]
[TD]Åg
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 19:45
[/TD]
[TD]-170
[/TD]
[/TR]
[TR]
[TD]41720
[/TD]
[TD]2012-05-11 18:26
[/TD]
[TD]SUC
[/TD]
[TD]Visk
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 19:16
[/TD]
[TD]-174
[/TD]
[/TR]
[TR]
[TD]41720
[/TD]
[TD]2012-05-11 18:26
[/TD]
[TD]SUC
[/TD]
[TD]Åggb
[/TD]
[TD]Arrival
[/TD]
[TD]2012-05-11 19:48
[/TD]
[TD]-170
[/TD]
[/TR]
[TR]
[TD]41720
[/TD]
[TD]2012-05-11 18:26
[/TD]
[TD]SUC
[/TD]
[TD]Std
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 19:07
[/TD]
[TD]-173
[/TD]
[/TR]
[TR]
[TD]41720
[/TD]
[TD]2012-05-11 18:26
[/TD]
[TD]SUC
[/TD]
[TD]Ft
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 19:26
[/TD]
[TD]-174
[/TD]
[/TR]
[TR]
[TD]41720
[/TD]
[TD]2012-05-11 18:26
[/TD]
[TD]SUC
[/TD]
[TD]Jbg
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 19:30
[/TD]
[TD]-173
[/TD]
[/TR]
[TR]
[TD]41720
[/TD]
[TD]2012-05-11 18:26
[/TD]
[TD]SUC
[/TD]
[TD]Ei
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 19:35
[/TD]
[TD]-172
[/TD]
[/TR]
[TR]
[TD]41720
[/TD]
[TD]2012-05-11 18:26
[/TD]
[TD]SUC
[/TD]
[TD]Suc
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 18:26
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]41720
[/TD]
[TD]2012-05-11 18:26
[/TD]
[TD]SUC
[/TD]
[TD]Vm
[/TD]
[TD]Arrival
[/TD]
[TD]2012-05-11 18:42
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]41674
[/TD]
[TD]2012-05-11 20:15
[/TD]
[TD]GMS
[/TD]
[TD]Gms
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 20:15
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]41674
[/TD]
[TD]2012-05-11 20:15
[/TD]
[TD]GMS
[/TD]
[TD]El
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 20:24
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]41674
[/TD]
[TD]2012-05-11 20:15
[/TD]
[TD]GMS
[/TD]
[TD]Kil
[/TD]
[TD]Arrival
[/TD]
[TD]2012-05-11 20:32
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
<tbody>[TR]
[TD]PathIdent
[/TD]
[TD]Departure
[/TD]
[TD]PathDepLoc
[/TD]
[TD]Location
[/TD]
[TD]LocationStatus
[/TD]
[TD]TimeAtLocation
[/TD]
[TD]Deviation
[/TD]
[/TR]
[TR]
[TD]41761
[/TD]
[TD]2012-05-11 18:00
[/TD]
[TD]HTG
[/TD]
[TD]Ros
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 18:27
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]41761
[/TD]
[TD]2012-05-11 18:00
[/TD]
[TD]HTG
[/TD]
[TD]Tsg
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 19:03
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]41761
[/TD]
[TD]2012-05-11 18:00
[/TD]
[TD]HTG
[/TD]
[TD]Åd
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 19:29
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]41615
[/TD]
[TD]2012-05-11 18:00
[/TD]
[TD]KIL
[/TD]
[TD]Gms
[/TD]
[TD]Arrival
[/TD]
[TD]2012-05-11 18:19
[/TD]
[TD]-10
[/TD]
[/TR]
[TR]
[TD]41615
[/TD]
[TD]2012-05-11 18:00
[/TD]
[TD]KIL
[/TD]
[TD]Kil
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 18:00
[/TD]
[TD]-12
[/TD]
[/TR]
[TR]
[TD]41615
[/TD]
[TD]2012-05-11 18:00
[/TD]
[TD]KIL
[/TD]
[TD]El
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 18:11
[/TD]
[TD]-10
[/TD]
[/TR]
[TR]
[TD]41761
[/TD]
[TD]2012-05-11 18:00
[/TD]
[TD]HTG
[/TD]
[TD]Htg
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 18:00
[/TD]
[TD]-58
[/TD]
[/TR]
[TR]
[TD]41761
[/TD]
[TD]2012-05-11 18:00
[/TD]
[TD]HTG
[/TD]
[TD]Fsm
[/TD]
[TD]Arrival
[/TD]
[TD]2012-05-11 19:59
[/TD]
[TD]17
[/TD]
[/TR]
[TR]
[TD]41720
[/TD]
[TD]2012-05-11 18:26
[/TD]
[TD]SUC
[/TD]
[TD]Töv
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 18:37
[/TD]
[TD]-168
[/TD]
[/TR]
[TR]
[TD]41720
[/TD]
[TD]2012-05-11 18:26
[/TD]
[TD]SUC
[/TD]
[TD]Vm
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 18:47
[/TD]
[TD]-172
[/TD]
[/TR]
[TR]
[TD]41720
[/TD]
[TD]2012-05-11 18:26
[/TD]
[TD]SUC
[/TD]
[TD]To
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 19:19
[/TD]
[TD]-173
[/TD]
[/TR]
[TR]
[TD]41720
[/TD]
[TD]2012-05-11 18:26
[/TD]
[TD]SUC
[/TD]
[TD]Nsö
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 18:54
[/TD]
[TD]-172
[/TD]
[/TR]
[TR]
[TD]41720
[/TD]
[TD]2012-05-11 18:26
[/TD]
[TD]SUC
[/TD]
[TD]Åg
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 19:45
[/TD]
[TD]-170
[/TD]
[/TR]
[TR]
[TD]41720
[/TD]
[TD]2012-05-11 18:26
[/TD]
[TD]SUC
[/TD]
[TD]Visk
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 19:16
[/TD]
[TD]-174
[/TD]
[/TR]
[TR]
[TD]41720
[/TD]
[TD]2012-05-11 18:26
[/TD]
[TD]SUC
[/TD]
[TD]Åggb
[/TD]
[TD]Arrival
[/TD]
[TD]2012-05-11 19:48
[/TD]
[TD]-170
[/TD]
[/TR]
[TR]
[TD]41720
[/TD]
[TD]2012-05-11 18:26
[/TD]
[TD]SUC
[/TD]
[TD]Std
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 19:07
[/TD]
[TD]-173
[/TD]
[/TR]
[TR]
[TD]41720
[/TD]
[TD]2012-05-11 18:26
[/TD]
[TD]SUC
[/TD]
[TD]Ft
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 19:26
[/TD]
[TD]-174
[/TD]
[/TR]
[TR]
[TD]41720
[/TD]
[TD]2012-05-11 18:26
[/TD]
[TD]SUC
[/TD]
[TD]Jbg
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 19:30
[/TD]
[TD]-173
[/TD]
[/TR]
[TR]
[TD]41720
[/TD]
[TD]2012-05-11 18:26
[/TD]
[TD]SUC
[/TD]
[TD]Ei
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 19:35
[/TD]
[TD]-172
[/TD]
[/TR]
[TR]
[TD]41720
[/TD]
[TD]2012-05-11 18:26
[/TD]
[TD]SUC
[/TD]
[TD]Suc
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 18:26
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]41720
[/TD]
[TD]2012-05-11 18:26
[/TD]
[TD]SUC
[/TD]
[TD]Vm
[/TD]
[TD]Arrival
[/TD]
[TD]2012-05-11 18:42
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]41674
[/TD]
[TD]2012-05-11 20:15
[/TD]
[TD]GMS
[/TD]
[TD]Gms
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 20:15
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]41674
[/TD]
[TD]2012-05-11 20:15
[/TD]
[TD]GMS
[/TD]
[TD]El
[/TD]
[TD]Departure
[/TD]
[TD]2012-05-11 20:24
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]41674
[/TD]
[TD]2012-05-11 20:15
[/TD]
[TD]GMS
[/TD]
[TD]Kil
[/TD]
[TD]Arrival
[/TD]
[TD]2012-05-11 20:32
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]