Forum Discussion
decarsul
5 years agoHelper V
Clean up my code
Good day all, Currently i'm working on creating a measure for net throughput time between two timestamps, where i will eventually cut out the outside business hours and weekends / holidays and i'...
- 5 years ago
Hi decarsul ,
Would you accept this as a cleaner way?
Date.From([Datetime created]) & Time.From("08:00:00")
mahoneypat
5 years agoMicrosoft Employee
Not sure if it is relevant or not, but please see this post and the example M code on calculating working minutes between two datetimes.
Calculate Hours with taking into account Business ... - Microsoft Power BI Community
Pat