Forum Discussion
lottieritchie
5 years agoHelper I
Adding time onto a variable
I have a date and time field for when an enquiry was received. In a calculated column I want to do; if the enquiry time is after 6pm then set the date/time as the following day at 9:00am Oth...
- 5 years ago
Try this
Column = IF(HOUR('Table'[Enquiry]) > 18, DATE(YEAR('Table'[Enquiry]), MONTH('Table'[Enquiry]), DAY('Table'[Enquiry]) + 1) + 0.375, 'Table'[Enquiry])Regards
Phil
lottieritchie
5 years agoHelper I
Legend - works great. Thanks Phil. PhilipTreacy