Hi!
I have to tables, one voyage table containing all the voyages our different trucks has done with departure and arrival time for each voyage and the other table containing GPS data taken every 64 seconds for each truck, example below.
What I want to know is what ListItemID each GPS point is refereable to? I would like to have the In excel I would use a vlookup but how do I do that in powerpivot?
Brgds,
Caj
[TABLE="width: 697"]
<tbody>[TR]
[TD]ListItemID[/TD]
[TD]Vehicle[/TD]
[TD]RealDeparture[/TD]
[TD]RealArrival[/TD]
[/TR]
[TR]
[TD]9177abe0-9c38-4baa-af2f-7cc6eb063ba9[/TD]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 13:56[/TD]
[TD="align: right"]2012-12-01 14:16[/TD]
[/TR]
[TR]
[TD]ab3c3ae7-eeff-4600-a3fb-173e4cfef706[/TD]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:14[/TD]
[TD="align: right"]2012-12-02 00:43[/TD]
[/TR]
[TR]
[TD]4f41977e-6f19-4efc-ac46-3946c3bdfa17[/TD]
[TD]142.001[/TD]
[TD="align: right"]2012-12-02 04:38[/TD]
[TD="align: right"]2012-12-02 06:44[/TD]
[/TR]
[TR]
[TD]bf05b049-6805-4fc4-b909-ffa91e08ca36[/TD]
[TD]142.001[/TD]
[TD="align: right"]2012-12-02 17:35[/TD]
[TD="align: right"]2012-12-02 17:48[/TD]
[/TR]
[TR]
[TD]bf05b049-6805-4fc4-b909-ffa91e08ca37[/TD]
[TD]142.002[/TD]
[TD="align: right"]2012-12-02 19:35[/TD]
[TD="align: right"]2012-12-02 23:48[/TD]
[/TR]
</tbody><colgroup><col><col><col><col></colgroup>[/TABLE]
[TABLE="width: 283"]
<tbody>[TR]
[TD]Vehicle[/TD]
[TD]GPS TIME[/TD]
[/TR]
[TR]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:02:21[/TD]
[/TR]
[TR]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:02:25[/TD]
[/TR]
[TR]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:02:29[/TD]
[/TR]
[TR]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:02:33[/TD]
[/TR]
[TR]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:02:37[/TD]
[/TR]
[TR]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:02:41[/TD]
[/TR]
[TR]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:02:45[/TD]
[/TR]
[TR]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:02:49[/TD]
[/TR]
[TR]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:02:53[/TD]
[/TR]
[TR]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:02:57[/TD]
[/TR]
[TR]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:03:01[/TD]
[/TR]
[TR]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:03:05[/TD]
[/TR]
[TR]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:03:09[/TD]
[/TR]
[TR]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:03:13[/TD]
[/TR]
[TR]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:03:17[/TD]
[/TR]
[TR]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:03:21[/TD]
[/TR]
[TR]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:03:25[/TD]
[/TR]
[TR]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:03:29[/TD]
[/TR]
</tbody>[/TABLE]
I have to tables, one voyage table containing all the voyages our different trucks has done with departure and arrival time for each voyage and the other table containing GPS data taken every 64 seconds for each truck, example below.
What I want to know is what ListItemID each GPS point is refereable to? I would like to have the In excel I would use a vlookup but how do I do that in powerpivot?
Brgds,
Caj
[TABLE="width: 697"]
<tbody>[TR]
[TD]ListItemID[/TD]
[TD]Vehicle[/TD]
[TD]RealDeparture[/TD]
[TD]RealArrival[/TD]
[/TR]
[TR]
[TD]9177abe0-9c38-4baa-af2f-7cc6eb063ba9[/TD]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 13:56[/TD]
[TD="align: right"]2012-12-01 14:16[/TD]
[/TR]
[TR]
[TD]ab3c3ae7-eeff-4600-a3fb-173e4cfef706[/TD]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:14[/TD]
[TD="align: right"]2012-12-02 00:43[/TD]
[/TR]
[TR]
[TD]4f41977e-6f19-4efc-ac46-3946c3bdfa17[/TD]
[TD]142.001[/TD]
[TD="align: right"]2012-12-02 04:38[/TD]
[TD="align: right"]2012-12-02 06:44[/TD]
[/TR]
[TR]
[TD]bf05b049-6805-4fc4-b909-ffa91e08ca36[/TD]
[TD]142.001[/TD]
[TD="align: right"]2012-12-02 17:35[/TD]
[TD="align: right"]2012-12-02 17:48[/TD]
[/TR]
[TR]
[TD]bf05b049-6805-4fc4-b909-ffa91e08ca37[/TD]
[TD]142.002[/TD]
[TD="align: right"]2012-12-02 19:35[/TD]
[TD="align: right"]2012-12-02 23:48[/TD]
[/TR]
</tbody><colgroup><col><col><col><col></colgroup>[/TABLE]
[TABLE="width: 283"]
<tbody>[TR]
[TD]Vehicle[/TD]
[TD]GPS TIME[/TD]
[/TR]
[TR]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:02:21[/TD]
[/TR]
[TR]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:02:25[/TD]
[/TR]
[TR]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:02:29[/TD]
[/TR]
[TR]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:02:33[/TD]
[/TR]
[TR]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:02:37[/TD]
[/TR]
[TR]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:02:41[/TD]
[/TR]
[TR]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:02:45[/TD]
[/TR]
[TR]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:02:49[/TD]
[/TR]
[TR]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:02:53[/TD]
[/TR]
[TR]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:02:57[/TD]
[/TR]
[TR]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:03:01[/TD]
[/TR]
[TR]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:03:05[/TD]
[/TR]
[TR]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:03:09[/TD]
[/TR]
[TR]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:03:13[/TD]
[/TR]
[TR]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:03:17[/TD]
[/TR]
[TR]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:03:21[/TD]
[/TR]
[TR]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:03:25[/TD]
[/TR]
[TR]
[TD]142.001[/TD]
[TD="align: right"]2012-12-01 14:03:29[/TD]
[/TR]
</tbody>[/TABLE]