Pivot Excel Need help

Copper Contributor

Hi All can extract my below file using power query form this 

 

Input Data Below

Date & TimeLocationSystemEquipmentTypeStatusStatus Type

31/03/2020 23:42BLVESCESC-01Escalator  Moving Status  Stopped
31/03/2020 23:42BLVESCESC-01Escalator  Moving Status  Moving
31/03/2020 23:26BLVESCESC-01Escalator  Moving Status  Stopped
31/03/2020 23:25BLVESCESC-01Escalator  Moving Status  Moving
31/03/2020 23:09BLVESCESC-01Escalator  Moving Status  Stopped
31/03/2020 23:09BLVESCESC-01Escalator  Moving Status  Moving

 

 

to this.

Output Data Below

 Stopped AlarmMoving
31/03/2020 0:421/04/2020 11:4231/03/2020 23:42

 

I tried using Pivot function in power query but couldn't shape into the above output.

1 Reply

@Jeev125 

Logic is not clear, concrete data in Output of your sample have nothing common with Input. However, you may Group By status without aggregation, keep only lists with time in output and after that create Table.FromColumns using above lists as columns. Please check in atached.

image.png