Identify the lead blocking SQL Statement on a monitored server

I’m looking for a way in Grail, if possible, to identify the lead blocking SQL Statement on a monitored server.  I’m pretty new to both Dynatrace and Grail.

Any help is appreciated.

Thanks.

Just a couple of clarifying questions:

  1. Are you looking for a statement that causes the most total block time within a given time window?
  2. How do you currently collect information about queries?
  3. Do you have the latest 2.0.0 remote SQL Server monitoring extension installed?