Getting transaction time for queue items

Need some thoughts on how to get accurate data in my reports. Specifically looking at getting transaction time (in seconds) for items in a queue, then get the average time as well. The data in my report is not accurate. My product version is 2020.10.16

Check the queries from here How to export old job details from the Orchestrator database? - #3 by marian.platonov

Thanks for the response. However, I’m looking for a UiPath Insights solution for this