Hello,
I have a data transformation that I'm able to do in VBA, but I'm wondering how I could do that in power query. It is a transpose action but with a conditional break.
Basic example, I have this set of data
Vehicule Voyage Point date1
VE1 VO1 FRMRS 01/01/2017
VE1 VO1 FRLIO 02/01/2017
VE2 VO2 FRFOS 04/01/2017
VE2 VO2 FRMRS 05/01/2017
I want to transpose it, like below.
When the vehicule changes ,the transpose stops and continue, but at the next available line
VE1 VE1
VO1 VO1
FRMRS FRLIO
01/01/2017 02/01/2017
VE2 VE2
VO2 VO2
FRFOS FRMRS
Is it possible to do that in power query ?
Attached, the sample file.
thank you !
I have a data transformation that I'm able to do in VBA, but I'm wondering how I could do that in power query. It is a transpose action but with a conditional break.
Basic example, I have this set of data
Vehicule Voyage Point date1
VE1 VO1 FRMRS 01/01/2017
VE1 VO1 FRLIO 02/01/2017
VE2 VO2 FRFOS 04/01/2017
VE2 VO2 FRMRS 05/01/2017
I want to transpose it, like below.
When the vehicule changes ,the transpose stops and continue, but at the next available line
VE1 VE1
VO1 VO1
FRMRS FRLIO
01/01/2017 02/01/2017
VE2 VE2
VO2 VO2
FRFOS FRMRS
01/01/2017 05/01/2017
Is it possible to do that in power query ?
Attached, the sample file.
thank you !