chriscorcoran Posted February 6, 2019 Author Share Posted February 6, 2019 @Victor thanks, I'm getting a SQL error but the syntax looks correct 2531912019-02-06 10:47:28infogeneral8368Invocations (7f47861a-3c9c-4b36-b019-6e54b63e83ad): system/getLogFileRecords 2531902019-02-06 10:47:28errorperf2300 ( SELECT sub_b.h_id FROM h_buz_activities sub_b LEFT JOIN h_msg_messages m ON m.h_msg_id = JSON_VALUE(sub_b.h_extra, '$._emailId') WHERE sub_b.h_target = s.h_id AND sub_b.h_type = 'Email' AND m.h_msg_to = 'support@resonate.tech' ORDER BY m.h_msg_date > '2018-01-01 00:00:00' ) Link to comment Share on other sites More sharing options...
Victor Posted February 6, 2019 Share Posted February 6, 2019 @chriscorcoran this is how the msg_date needs to be added: Link to comment Share on other sites More sharing options...
Steve G Posted February 6, 2019 Share Posted February 6, 2019 Hi @chriscorcoran, As @Victor has mentioned, this will only return timeline updates against requests where the email was sent/received after that date/time stamp. Not sure how useful that would be though? Are you actually after requests that have been logged after that date/time stamp? If so then a filter configured as below, using the Start Of Last Year variable in the value, would work: Cheers, Steve Link to comment Share on other sites More sharing options...
chriscorcoran Posted February 6, 2019 Author Share Posted February 6, 2019 @Victor @Steve G Yes so the report you have given me is fine with email updates first and last. As you say I just want tickets logged form 01/01/2018 so I should use what you suggested? As the report you kindly did brings back everything. Link to comment Share on other sites More sharing options...
Steve G Posted February 6, 2019 Share Posted February 6, 2019 @chriscorcoran In that case, apply the filter as per my last comment, and that'll get you the data you need Cheers, Steve Link to comment Share on other sites More sharing options...
chriscorcoran Posted February 7, 2019 Author Share Posted February 7, 2019 @Steve Gspot on thanks! @Victor thanks as well. That has been a big help publishing to my power bi report now. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now