Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Email Response time from Outlook Exchange

I am trying to calculate the first response time of the emails, also I am trying to figuring out how to match received emails to sent emails,    this is an example data, the actual data is thousands...
  • Jimmy801's avatar
    Jimmy801
    5 years ago

    Hello Anonymous 

     

    exactly, I choose the duration in minutues. 1140 minutes are 19 hours. You can change this also to hours. Just replace the Duration.TotalsMinutes to Duration.TotalHours. If you remove this function completely you will get a duration-value like 0.19:00:00

    For sure you have to remove my resource steps with your query. This is only to show how to get the result. This kind of transformation you have to dig in the M-code :). If you are not able to apply my code, you can post your query here, then I can do it for you. But be aware that my solution works with your data provided. If your data is different, it may not work and we need to adapt it even more. 


    If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
    Kudoes are nice too

    Have fun

    Jimmy