# Dashboard - service IDs instead of tag

**URL:** <https://community.dynatrace.com/t/dashboard-service-ids-instead-of-tag/53103>\
**Category:** DQL\
**Tags:** dql, dashboards\
**Created:** [August 26, 2025, 12:48pm UTC](https://community.dynatrace.com/t/dashboard-service-ids-instead-of-tag/53103 "2025-08-26T12:48:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sshinde\_24](https://avatars.discourse-cdn.com/v4/letter/s/9de0a6/32.png) [@sshinde\_24](https://community.dynatrace.com/u/sshinde_24)\
**Post date:** [August 26, 2025, 12:48pm UTC](https://community.dynatrace.com/t/dashboard-service-ids-instead-of-tag/53103/1 "2025-08-26T12:48:52Z")

</div>

Hi,

I want to use service IDs instead of tag, help replace&nbsp;tag(\“”,$MyServices,“\”)&nbsp; with ID.

timeseries count = sum(dt.service.request.count), by: { endpoint.name },  
filter: { endpoint.name in[fetch dt.entity.service\_method  
| filter in(id, classicEntitySelector(concat(“type(service\_method),fromRelationship.isServiceMethodOfService(type(SERVICE),tag(\”“,$MyServices,”\“))”)))  
| fields entity.name ] }  
| sort arraySum(count) desc  
| limit 20

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [August 26, 2025, 2:01pm UTC](https://community.dynatrace.com/t/dashboard-service-ids-instead-of-tag/53103/2 "2025-08-26T14:01:32Z")

</div>

Hi,

Why do you prefer IDs? I think using tags would be more flexible.

Best regards

---

<div class="post-metadata">

**Author:** ![dannemca](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dannemca/32/7215_2.png) [@dannemca](https://community.dynatrace.com/u/dannemca)\
**Post date:** [August 26, 2025, 2:29pm UTC](https://community.dynatrace.com/t/dashboard-service-ids-instead-of-tag/53103/3 "2025-08-26T14:29:08Z")

</div>

That would be like this:

```markup
timeseries count = sum(dt.service.request.count), by: { endpoint.name },
filter: { endpoint.name in[fetch dt.entity.service_method
| filter in(id, classicEntitySelector(concat("type(service_method),fromRelationship.isServiceMethodOfService(type(SERVICE),entityID(\"",$MyIDs,"\"))")))| fields entity.name ] }
| sort arraySum(count) desc
| limit 20

```

Assuming you have a var called MyIDs with the ID list.  
Try and let us know

---

<div class="post-metadata">

**Author:** ![sshinde\_24](https://avatars.discourse-cdn.com/v4/letter/s/9de0a6/32.png) [@sshinde\_24](https://community.dynatrace.com/u/sshinde_24)\
**Post date:** [August 28, 2025, 10:40am UTC](https://community.dynatrace.com/t/dashboard-service-ids-instead-of-tag/53103/4 "2025-08-28T10:40:06Z")

</div>

Thanks for the solution. Unfortunately, it didn’t work as expected — I’m not seeing any records in the output

---

<div class="post-metadata">

**Author:** ![PacoPorro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pacoporro/32/36087_2.png) [@PacoPorro](https://community.dynatrace.com/u/PacoPorro)\
**Post date:** [August 28, 2025, 10:52am UTC](https://community.dynatrace.com/t/dashboard-service-ids-instead-of-tag/53103/5 "2025-08-28T10:52:09Z")

</div>

Can I suggest a different approach?  
Jump to notebooks/dashboard from the services app.

 ![PacoPorro_0-1756378321176.png](https://global.discourse-cdn.com/dynatrace/original/2X/e/e2f55d1f59a323fb2cf60990b4c3b1924f4a5c26.png)

Select the service you need from the service app, and from the overview, throughput, 3 dots open with
