Forum Discussion

saad_mce's avatar
saad_mce
Helper I
4 years ago
Solved

Excel to power query clock/time issue

Hi all, I have below data in excel. This is the start and end time of a production order in SAP. Schedule Start Start Time Schedule Finish Finish Time 10.01.2022 22:05:35 10.01.2022 24:...
  • visheshjain's avatar
    4 years ago

    Hi saad_mce,

    I think you will need to add a conditional column that if time is greater than 23:59:59 then add 1 to the Finish Date.

    Ideally, 24:00:00 is equivilant to 00:00:00, which is when the next day begins.

    You can also try converting the time into a numeric value by multiplying it by 24*60*60 = 86,400 and then adding the conditional column.

    I think PQ works faster on numbers than any other data type.

     

    Hope this helps.

     

    Thank you,

    Vishesh Jain