Forum Discussion
Help Required calculating duration
Hello Team,
I need your help in the below scenario
i want to calculate the duration column where it shows the number of hours and minutes taken to resolved the call excluding weekends (Created on from Resolved on columns). If you look at the second row it has calculated correctly in Network duration 0.09 minutes but row one is taking 3 days but my network duration is showing 23:00.
Below is the formula, i have used for network duration:
Can you please help me at the earliest,thanks
Anonymous i think you forgot second max date in table name.i highlight that you miss out in code.
MM = ABS(DATEDIFF( MAX( 'Data'[Created on]), MAX(Data[Resolved on] ),MINUTE))Data[Resolved on]Anonymous If this post helps, then please consider Accept it as the solution and give Kudo to help the other members find it more quickly.
thank you!
3 Replies
- Mahesh0016
Super User
Anonymous i think you forgot second max date in table name.i highlight that you miss out in code.
MM = ABS(DATEDIFF( MAX( 'Data'[Created on]), MAX(Data[Resolved on] ),MINUTE))Data[Resolved on]Anonymous If this post helps, then please consider Accept it as the solution and give Kudo to help the other members find it more quickly.
thank you! - Mahesh0016
Super User
hi Anonymous you want to two date minute or day?
- AnonymousNot applicable
Thanks Mahesh,
As per you, i am trying the below code:
MM = ABS(DATEDIFF( MAX( 'Data'[Created on]), MAX([Resolved on] ),MINUTE))can you please help me in correcting this