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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

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

@Anonymous 

 

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

@Anonymous 

 

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

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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