Hello I have created an agent for Dashboard page to send an email. Everything is fine but the grand totals are not right in the file that got emailed through agent.Is there any way we can see the Agent SQL log that generated?

Also this issue is intermittent. It is getting wrong total for the first time. Re-running the agent after 10 min. The issue does not persist.
Thanks
DNK