Hi,
I'm trying to track our help center mailbox through power query. How can I identify emails that are in one conversation so I can identify total requests received (distinct count of conversations) and to get duration of first response (Sent date/time of the second email in a conversation MINUS Recieved date/time of the first email in a conversation)?
Hi @Maha1 ,
Please refer to the steps below to get the email.
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("LYo7DsMwDMWu8uAD5AwZ2z1b4EG1FFSoZQX+oOjt4wIZuJDc9/BQ2A+FTKANmxuo8F+JkWYQc5XW7rZOutuS5vbE10dmZP0IuoO1pTHP/hacVZPAD7wqzXrkobwgxHgB", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Text = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"Text", type text}}),
Custom1 = Table.AddColumn (
#"Changed Type",
"New Text",
each
Text.Combine (
List.Select (
Text.Split ( [Text], " " ),
each Text.Contains ( _, "@" )
),
" "
),
type text
)
in
Custom1
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
I don't get the source in your code? I used Get Data from Microsoft Exchange.
What should I replace from your code to make it work?
What have you tried and where are you stuck?