Forum Discussion
Anonymous
7 years agoNot applicable
Time calculation
Hi, Another query on calculating dates/times, but I haven't seen anything similar to what I'm trying to do, so I'd appreciate any help! When we place an order with a carrier, we speicify the ...
- Anonymous7 years ago
Anonymous
Thanks for detailed explaination
Use below formula in Calculated Column
SpoilerDuration (Hours) = Var StartDate = TODAY()+'Table'[Order Cut Off] Var EndDate = TODAY()+'Table'[Delivery Time] + 'Table'[Day] RETURN (EndDate - StartDate) * 24
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Proud to be Datanaut! - 7 years ago
Hi Anonymous
If Delivery Time and Order Cut Off are formatted as Time and Day as whole number, you can simply do
NewColumn = 24*(Table1[Delivery Time] + Table1[Day] - Table1[Order Cut Off] )
Anonymous
7 years agoNot applicable
Anonymous
Thanks for detailed explaination
Use below formula in Calculated Column
Spoiler
Duration (Hours) = Var StartDate = TODAY()+'Table'[Order Cut Off] Var EndDate = TODAY()+'Table'[Delivery Time] + 'Table'[Day] RETURN (EndDate - StartDate) * 24
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Proud to be Datanaut!
Anonymous
7 years agoNot applicable
Thank you!
- AlB7 years agoCommunity Champion
Hi Anonymous
If Delivery Time and Order Cut Off are formatted as Time and Day as whole number, you can simply do
NewColumn = 24*(Table1[Delivery Time] + Table1[Day] - Table1[Order Cut Off] )