Quantcast
Viewing all articles
Browse latest Browse all 2791

Session Execution Time On Cached/Snapshotted Reports

I am currently using the following in the footer of all reports.="Execution Time: " + IIf(System.DateTime.Now.Subtract(Globals!ExecutionTime).TotalSeconds < 1, "0 seconds", ( IIf(System.DateTime.Now.Subtract(Globals!ExecutionTime).Hours > 0, System.DateTime.Now.Subtract(Globals!ExecutionTime).Hours & " hour(s), ", "") + IIf(System.DateTime.Now.Subtract(Globals!ExecutionTime).Minutes > 0, System.DateTime.Now.Subtract(Globals!ExecutionTime).Minutes & " minute(s), ", "") + IIf(System.DateTime.Now.Subtract(Globals!ExecutionTime).Seconds > 0, System.DateTime.Now.Subtract(Globals!ExecutionTime).Seconds & " second(s)", "")) )Unfortunatly, this only show the cached time. We want to be able to show the user's session runtime in the report. Although this is captured in the executionlogview3 of the report server, there is not global variable to present this information. Has anyone found a workaround to show the runtime of the user exection?

Viewing all articles
Browse latest Browse all 2791