Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Niels_IRD
Frequent Visitor

How to round time to the hour it is approaching (not nearest)

How can I round time to the hour it is in. So not the nearest hour but the hour it is approaching in Power Query.

 

For example: 

 

28/02/2022 8:27:21 -> 28/02/2022 9:00:00

28/02/2022 0:07:59 -> 28/02/2022 1:00:00

28/02/2022 13:58:21 -> 28/02/2022 14:00:00

 

 

1 ACCEPTED SOLUTION
ddpl
Solution Sage
Solution Sage

@Niels_IRD 

 

in power query there is function Time.EndOfHour(DateTime), which can help you to get your requirement.

View solution in original post

1 REPLY 1
ddpl
Solution Sage
Solution Sage

@Niels_IRD 

 

in power query there is function Time.EndOfHour(DateTime), which can help you to get your requirement.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.