Forum Discussion
Matching different data sets based on time
- Oct 26, 2021
Aditya Jadhav In PQ you can easily split the date and time components. First, make sure that the column is of the "Date/time" data type. Select the Date/Time column with the add column tab active. Select the Time icon, Time only. That will extract the time portion into a new column. Then do something similar with the transform column tab active. Select the Date/Time column and choose Date, Date only. That changes the column to hold only the date. Finally, select the time column (add column tab active) and select Time, Hour to create a new column with only the hour component.
PS: Wrote this answer from memory as I'm not near a computer that has Excel wit PQ on it. So perhaps, these instructions aren't 100% correct, but I trust you'll be able to figure it out.
Regards,
Aditya
Aditya Jadhav This would be a good starting point to learn more about Power Query. Once you get used to it, you'll love it and will use it whenever you can.
- Aditya JadhavOct 25, 2021Brass ContributorDear Riny_van_Eekelen Have already started to look into this and it is very helpful once understood, this is a very powerful tool that helps us in many ways and is easy once understood for large datasets.
Regards,
Aditya