# Advanced query to get request with response time less than 4 secs

**URL:** <https://community.dynatrace.com/t/advanced-query-to-get-request-with-response-time-less-than-4-secs/49331>\
**Category:** Dashboarding\
**Tags:** dashboards\
**Created:** [December 12, 2024, 12:00pm UTC](https://community.dynatrace.com/t/advanced-query-to-get-request-with-response-time-less-than-4-secs/49331 "2024-12-12T12:00:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Niharika\_Durga](https://avatars.discourse-cdn.com/v4/letter/n/e9bcb4/32.png) [@Niharika\_Durga](https://community.dynatrace.com/u/Niharika_Durga)\
**Post date:** [December 12, 2024, 12:00pm UTC](https://community.dynatrace.com/t/advanced-query-to-get-request-with-response-time-less-than-4-secs/49331/1 "2024-12-12T12:00:44Z")

</div>

Advanced query to get request with response time less than 4 secs

---

<div class="post-metadata">

**Author:** ![erh\_inetum](https://avatars.discourse-cdn.com/v4/letter/e/48db29/32.png) [@erh\_inetum](https://community.dynatrace.com/u/erh_inetum)\
**Post date:** [December 13, 2024, 6:59am UTC](https://community.dynatrace.com/t/advanced-query-to-get-request-with-response-time-less-than-4-secs/49331/2 "2024-12-13T06:59:48Z")

</div>

Hi Niharika,

You can create a query in MDA and from there, creating a calculate service metric:

 ![erh_inetum_0-1734073135801.png](https://global.discourse-cdn.com/dynatrace/original/3X/7/8/78178d35deb213ac3b46a118e29fcc6418bcba23.png)

Hope it helps.

Regards,

Elena.

---

<div class="post-metadata">

**Author:** ![Niharika\_Durga](https://avatars.discourse-cdn.com/v4/letter/n/e9bcb4/32.png) [@Niharika\_Durga](https://community.dynatrace.com/u/Niharika_Durga)\
**Post date:** [December 16, 2024, 8:05am UTC](https://community.dynatrace.com/t/advanced-query-to-get-request-with-response-time-less-than-4-secs/49331/3 "2024-12-16T08:05:29Z")

</div>

Hi Elena,

Thank you for the solution. I am able to get the count. Can you suggest how to get it in data explorer, as I need to add it in a dashboard.

Regards,

Niharika

---

<div class="post-metadata">

**Author:** ![erh\_inetum](https://avatars.discourse-cdn.com/v4/letter/e/48db29/32.png) [@erh\_inetum](https://community.dynatrace.com/u/erh_inetum)\
**Post date:** [December 16, 2024, 8:08am UTC](https://community.dynatrace.com/t/advanced-query-to-get-request-with-response-time-less-than-4-secs/49331/4 "2024-12-16T08:08:40Z")

</div>

Hi Niharika,

Once you create the calculate service metric, you can find your new custom metric in Data Explorer, show the data in Data Explorer, and pin to Dashboard.

I hope my explanation was clear. If it wasn´t, let me know.

Regards,

Elena.
