# How to build a DQL query that accounts for timestamp discrepancies

**URL:** <https://community.dynatrace.com/t/how-to-build-a-dql-query-that-accounts-for-timestamp-discrepancies/46109>\
**Category:** DQL\
**Tags:** dql\
**Created:** [June 13, 2024, 3:40pm UTC](https://community.dynatrace.com/t/how-to-build-a-dql-query-that-accounts-for-timestamp-discrepancies/46109 "2024-06-13T15:40:22Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Nick-Montana](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/nick-montana/32/2051_2.png) [@Nick-Montana](https://community.dynatrace.com/u/Nick-Montana)\
**Post date:** [June 13, 2024, 3:40pm UTC](https://community.dynatrace.com/t/how-to-build-a-dql-query-that-accounts-for-timestamp-discrepancies/46109/1 "2024-06-13T15:40:22Z")

</div>

Greetings,

I am capturing the JSON response body of a transaction as a bizEvent in Dynatrace. Everything looks good except for one discrepancy that I need help accounting for. As you can see from the screenshot below occasionally the Agent captures the json response body in quick successions one after the other and every value within the record is the same. Ultimately this make the my resulting summations inaccurate. Below the highlighted timestamps in the normal behavior for capture intervals. So we can assume that if all the values in the record are the same and there is more than 1 record within a short amount of time (lets say 2-5 minutes) then in truth there is only a single transaction taking place

So how would I write a DQL query that combines n\>1 transactions if all other values are the same besides the timestamp?

 ![NickMontana_0-1718292784500.png](https://global.discourse-cdn.com/dynatrace/original/3X/9/b/9b782221cd8e6e62b58002cace8cfbad1ddff708.png)

---

_[View the full topic](https://community.dynatrace.com/t/how-to-build-a-dql-query-that-accounts-for-timestamp-discrepancies/46109)._
