<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Add these values in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/234140#M551</link>
    <description>&lt;P&gt;Hi yuval1983,&lt;/P&gt;&lt;P&gt;I'm afraid I don't have idea for solution &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; But I see you made a big progress with&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/64996"&gt;@gbaudart&lt;/a&gt;, nice work&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":clapping_hands:"&gt;👏&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jan 2024 09:12:50 GMT</pubDate>
    <dc:creator>Pawel_Zalewski</dc:creator>
    <dc:date>2024-01-12T09:12:50Z</dc:date>
    <item>
      <title>Add these values</title>
      <link>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/233774#M513</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;I want to add these values filter and I want it to affect what is in the view&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;fetch dt.entity.service&lt;BR /&gt;| fields entity.name, managementZones = managementZones&lt;BR /&gt;| filter matchesValue(managementZones, "prod")&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------&lt;/P&gt;&lt;P&gt;fetch dt.entity.service&lt;BR /&gt;| expand tags&lt;BR /&gt;| filter contains(tags, "prod")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code that is displayed is&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;const processedResults: MetricResult[] = metricQuery.result[0].data.map(result =&amp;gt; { return { "Service Name": result.dimensionMap["dt.entity.service.name"], "Service ID": result.dimensionMap["dt.entity.service"], "Tag": result.dimensionMap["dt.entity.service"], "Failure Rate": +result.values }; });&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there something I can write instead of dt.entity.service ??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 14:14:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/233774#M513</guid>
      <dc:creator>yuval1983</dc:creator>
      <dc:date>2024-01-09T14:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: Add these values</title>
      <link>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/233783#M516</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/60894"&gt;@yuval1983&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;When I run these 2 queries independently, I don't get any errors on my side.&lt;/P&gt;&lt;P&gt;Are these two different requests? Can you provide us with a screenshot of your query with the visible error please?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 14:46:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/233783#M516</guid>
      <dc:creator>gbaudart</dc:creator>
      <dc:date>2024-01-09T14:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Add these values</title>
      <link>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/233805#M519</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to filter the table by total of TAGS and ZONE, including a cut according to the filter below, instead of filtering only before the service name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yuval1983_0-1704824461503.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/16700i8FE9CE44A18D9C8E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yuval1983_0-1704824461503.png" alt="yuval1983_0-1704824461503.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 18:24:27 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/233805#M519</guid>
      <dc:creator>yuval1983</dc:creator>
      <dc:date>2024-01-09T18:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Add these values</title>
      <link>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/233813#M520</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/60894"&gt;@yuval1983&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;To use these 2 filters in the same query, you may test :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch dt.entity.service
| fields entity.name, managementZones, tags
| filter matchesValue(managementZones, "prod")
| expand tags
| filter contains(tags, "prod")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 19:34:43 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/233813#M520</guid>
      <dc:creator>gbaudart</dc:creator>
      <dc:date>2024-01-09T19:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Add these values</title>
      <link>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/233818#M521</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/64996"&gt;@gbaudart&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/60894"&gt;@yuval1983&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;To use these 2 filters in the same query, you may test :&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch dt.entity.service
| fields entity.name, managementZones, tags
| filter matchesValue(managementZones, "prod")
| expand tags
| filter contains(tags, "prod")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yuval1983_0-1704834659168.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/16703i49FBBB6A50F86EC3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yuval1983_0-1704834659168.png" alt="yuval1983_0-1704834659168.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yuval1983_1-1704834747815.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/16704i249416FA793E7C2F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yuval1983_1-1704834747815.png" alt="yuval1983_1-1704834747815.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ok, I want to filter the results based on services and tags and display them in a window (table). The filter will look like this: services:test, tags:test2. Also, the Zone:prod .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;----------------------------------------------&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;What should I replace in this setting?&lt;/P&gt;&lt;P&gt;"Zone": result.dimensionMap["dt.entity.service"],&lt;BR /&gt;"Tag": result.dimensionMap["dt.entity.service"],&lt;/P&gt;&lt;P&gt;------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;import { metricsClient } from '@dynatrace-sdk/client-classic-environment-v2';&lt;/P&gt;&lt;P&gt;export default async function fetchMetricResults() {&lt;BR /&gt;const serviceSelection = $Service;&lt;BR /&gt;const metricKey = "builtin:service.errors.total.rate";&lt;/P&gt;&lt;P&gt;const config = {&lt;BR /&gt;metricSelector: buildQuery(serviceSelection, metricKey),&lt;BR /&gt;resolution: "Inf",&lt;BR /&gt;from: $dt_timeframe_from,&lt;BR /&gt;to: $dt_timeframe_to,&lt;BR /&gt;acceptType: "application/json; charset=utf-8"&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;if (config.metricSelector.length &amp;gt; 3500) {&lt;BR /&gt;return "Please select fewer services";&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;const metricQuery = await metricsClient.query(config);&lt;/P&gt;&lt;P&gt;const processedResults: MetricResult[] = metricQuery.result[0].data.map(result =&amp;gt; {&lt;BR /&gt;return {&lt;BR /&gt;"Service Name": result.dimensionMap["dt.entity.service.name"],&lt;BR /&gt;"Service ID": result.dimensionMap["dt.entity.service"],&lt;BR /&gt;"Zone": result.dimensionMap["dt.entity.service"],&lt;BR /&gt;"Tag": result.dimensionMap["dt.entity.service"],&lt;BR /&gt;"Failure Rate": +result.values&lt;BR /&gt;};&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;return processedResults;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;function buildQuery(inputs: string[], metricKey: string): string {&lt;BR /&gt;const filters = inputs.map(&lt;BR /&gt;input =&amp;gt; `in("dt.entity.service", entitySelector("type(service), entityName.equals(~"${input}~")"))`&lt;BR /&gt;);&lt;BR /&gt;const filterString = filters.join(",");&lt;/P&gt;&lt;P&gt;return `${metricKey}:filter(or(${filterString})):splitBy("dt.entity.service"):sort(value(auto, descending)):names`;&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 21:16:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/233818#M521</guid>
      <dc:creator>yuval1983</dc:creator>
      <dc:date>2024-01-09T21:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Add these values</title>
      <link>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/233982#M534</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I'm not looking for an error&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yuval1983_0-1704957294747.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/16739i7BBF13BF66D62EEB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yuval1983_0-1704957294747.png" alt="yuval1983_0-1704957294747.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a dashboard and added filters for Service, Zone, and Tag. The filter for Service is working fine and the dashboard is being filtered accordingly when I select a service. However, when I try to filter by Zone or Tag, it doesn't work and doesn't display the required information on the dashboard.&lt;/P&gt;&lt;P&gt;I have checked the code and noticed that the following code is used for Service filtering:&lt;BR /&gt;"Service Name": result.dimensionMap["dt.entity.service.name"],&lt;BR /&gt;"Service ID": result.dimensionMap["dt.entity.service"]&lt;/P&gt;&lt;P&gt;But, I am not sure what code I should use for Zone and Tag filtering. I am not sure which "dt.xxx" I should use for Zone and Tag filtering or what I should configure in the code for filtering by Zone and Tag.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 07:22:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/233982#M534</guid>
      <dc:creator>yuval1983</dc:creator>
      <dc:date>2024-01-11T07:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Add these values</title>
      <link>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/233988#M536</link>
      <description>&lt;P&gt;&lt;SPAN&gt;mz and tags are not Dynatrace entities. you will therefore not have an equivalent in dt.xxx. you have to find a workaround&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 08:00:01 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/233988#M536</guid>
      <dc:creator>gbaudart</dc:creator>
      <dc:date>2024-01-11T08:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Add these values</title>
      <link>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/233992#M537</link>
      <description>&lt;P&gt;oK&lt;/P&gt;&lt;P&gt;The classic bashboard I can do this filter there according to TAG&lt;/P&gt;&lt;P&gt;Why can't it be done here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yuval1983_0-1704961280352.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/16740i550EAE08E783FC17/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yuval1983_0-1704961280352.png" alt="yuval1983_0-1704961280352.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 08:24:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/233992#M537</guid>
      <dc:creator>yuval1983</dc:creator>
      <dc:date>2024-01-11T08:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Add these values</title>
      <link>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/233994#M538</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not saying we can't filter on tags, just that there is no dt.xxx for tags.&lt;BR /&gt;When I want to filter on tags with Grail or the SDK, I generally use an EntitySelector.&lt;/P&gt;&lt;P&gt;However, I am not strong enough in SDK code to easily reformulate your "query"&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 08:33:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/233994#M538</guid>
      <dc:creator>gbaudart</dc:creator>
      <dc:date>2024-01-11T08:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Add these values</title>
      <link>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/234017#M539</link>
      <description>&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;I was able to create the filter that I needed. Now, I just need to link it to the code inside the table, which I attached above. I'm not sure how to insert this filter into the table's view.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;fetch dt.entity.service&lt;BR /&gt;| expand tags&lt;BR /&gt;| filter contains(tags, "Planning and stability")&lt;BR /&gt;| fields managementZones, tags&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yuval1983_0-1704967248386.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/16746iB960FB073370724F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yuval1983_0-1704967248386.png" alt="yuval1983_0-1704967248386.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 10:03:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/234017#M539</guid>
      <dc:creator>yuval1983</dc:creator>
      <dc:date>2024-01-11T10:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Add these values</title>
      <link>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/234018#M540</link>
      <description>&lt;P&gt;If you “simply” have to take the filter value.&lt;BR /&gt;I think, You may use the $FILTER variable :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$Tags_PlanningAndStability&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 10:15:00 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/234018#M540</guid>
      <dc:creator>gbaudart</dc:creator>
      <dc:date>2024-01-11T10:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Add these values</title>
      <link>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/234024#M541</link>
      <description>&lt;P&gt;OK&lt;/P&gt;&lt;P&gt;Could you assist me in inserting a value into this code? I am having trouble inserting it in a way that it will filter rather than tag. Below is the code that I have mentioned earlier&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;import { metricsClient } from '@dynatrace-sdk/client-classic-environment-v2';&lt;/P&gt;&lt;P&gt;export default async function fetchMetricResults() {&lt;BR /&gt;const serviceSelection = $Service;&lt;BR /&gt;const metricKey = "builtin:service.errors.total.rate";&lt;/P&gt;&lt;P&gt;const config = {&lt;BR /&gt;metricSelector: buildQuery(serviceSelection, metricKey),&lt;BR /&gt;resolution: "Inf",&lt;BR /&gt;from: $dt_timeframe_from,&lt;BR /&gt;to: $dt_timeframe_to,&lt;BR /&gt;acceptType: "application/json; charset=utf-8"&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;if (config.metricSelector.length &amp;gt; 3500) {&lt;BR /&gt;return "Please select fewer services";&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;const metricQuery = await metricsClient.query(config);&lt;/P&gt;&lt;P&gt;const processedResults: MetricResult[] = metricQuery.result[0].data.map(result =&amp;gt; {&lt;BR /&gt;return {&lt;BR /&gt;"Service Name": result.dimensionMap["dt.entity.service.name"],&lt;BR /&gt;"Service ID": result.dimensionMap["dt.entity.service"],&lt;BR /&gt;"Tag":&amp;nbsp; xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx,&amp;nbsp;&amp;nbsp;&lt;BR /&gt;"Failure Rate": +result.values&lt;BR /&gt;};&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;return processedResults;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;function buildQuery(inputs: string[], metricKey: string): string {&lt;BR /&gt;const filters = inputs.map(&lt;BR /&gt;input =&amp;gt; `in("dt.entity.service", entitySelector("type(service), entityName.equals(~"${input}~")"))`&lt;BR /&gt;);&lt;BR /&gt;const filterString = filters.join(",");&lt;/P&gt;&lt;P&gt;return `${metricKey}:filter(or(${filterString})):splitBy("dt.entity.service"):sort(value(auto, descending)):names`;&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 10:57:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/234024#M541</guid>
      <dc:creator>yuval1983</dc:creator>
      <dc:date>2024-01-11T10:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Add these values</title>
      <link>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/234026#M542</link>
      <description>&lt;P&gt;Try this :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;const processedResults: MetricResult[] = metricQuery.result[0].data.map(result =&amp;gt; {
return {
"Service Name": result.dimensionMap["dt.entity.service.name"],
"Service ID": result.dimensionMap["dt.entity.service"],
"Tag": $Tags_PlanningAndStability, 
"Failure Rate": +result.values
};
};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the other hand, to improve the rereading of your code, you should indent it&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 11:02:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/234026#M542</guid>
      <dc:creator>gbaudart</dc:creator>
      <dc:date>2024-01-11T11:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Add these values</title>
      <link>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/234030#M543</link>
      <description>&lt;P&gt;There is progress now, and I can see the value. However, the filter doesn't really perform a filter like the service filter's function. It only shows what I mark inside the filter.&lt;/P&gt;&lt;P&gt;The classic dashboard where I make the change in the filter by filtering, so I see what service is inside that tag.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your assistance and patience.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yuval1983_0-1704971590598.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/16748i071462B9DEDCB8B7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yuval1983_0-1704971590598.png" alt="yuval1983_0-1704971590598.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;function buildQuery(inputs: string[], metricKey: string): string {&lt;BR /&gt;const filters = inputs.map(&lt;BR /&gt;input =&amp;gt; `in("dt.entity.service", entitySelector("type(service), entityName.equals(~"${input}~")"))`&lt;BR /&gt;);&lt;BR /&gt;const filterString = filters.join(",");&lt;/P&gt;&lt;P&gt;return `${metricKey}:filter(or(${filterString})):splitBy("dt.entity.service"):sort(value(auto, descending)):names`;&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 11:17:30 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/234030#M543</guid>
      <dc:creator>yuval1983</dc:creator>
      <dc:date>2024-01-11T11:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Add these values</title>
      <link>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/234126#M550</link>
      <description>&lt;P&gt;hi &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/66060"&gt;@Pawel_Zalewski&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe you have a solution ?:)&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 05:40:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/234126#M550</guid>
      <dc:creator>yuval1983</dc:creator>
      <dc:date>2024-01-12T05:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Add these values</title>
      <link>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/234140#M551</link>
      <description>&lt;P&gt;Hi yuval1983,&lt;/P&gt;&lt;P&gt;I'm afraid I don't have idea for solution &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; But I see you made a big progress with&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/64996"&gt;@gbaudart&lt;/a&gt;, nice work&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":clapping_hands:"&gt;👏&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 09:12:50 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/234140#M551</guid>
      <dc:creator>Pawel_Zalewski</dc:creator>
      <dc:date>2024-01-12T09:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: Add these values</title>
      <link>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/234158#M552</link>
      <description>&lt;P&gt;I was able to link a tag to the table, but you pointed out that the name of the service in the table is incorrect. I would like to display all the names under the same tag group. I need help figuring out how to do it.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yuval1983_1-1705054426836.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/16782i97C989CF9C4ECAC2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yuval1983_1-1705054426836.png" alt="yuval1983_1-1705054426836.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yuval1983_0-1705054415081.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/16781i8FA7F388E8DBD370/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yuval1983_0-1705054415081.png" alt="yuval1983_0-1705054415081.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 10:14:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/234158#M552</guid>
      <dc:creator>yuval1983</dc:creator>
      <dc:date>2024-01-12T10:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Add these values</title>
      <link>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/234295#M559</link>
      <description>&lt;P&gt;HI, &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/64996"&gt;@gbaudart&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to know how to search for a desired service using tags.&lt;/P&gt;&lt;P&gt;Maybe I need to change something here?&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;serviceSelectio&lt;/SPAN&gt;n &lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yuval1983_1-1705296788554.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/16817iADC5ADC6DFD413C8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yuval1983_1-1705296788554.png" alt="yuval1983_1-1705296788554.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the code-&lt;/P&gt;&lt;P&gt;&lt;A href="https://paste.ofcode.org/3863CCfHHf3qzWB2REYYAGA" target="_blank"&gt;https://paste.ofcode.org/3863CCfHHf3qzWB2REYYAGA&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Could you please tell me where I can find an index or a way to debug it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2024 05:33:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/234295#M559</guid>
      <dc:creator>yuval1983</dc:creator>
      <dc:date>2024-01-15T05:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Add these values</title>
      <link>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/234301#M561</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/60894"&gt;@yuval1983&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;In the EntitySelector command, you can filter with the desired tags like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;input =&amp;gt; `in("dt.entity.service", entitySelector("type(service), entityName.equals(~"${input}~"), tag("$TAG_VARIABLE")"))`&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 15 Jan 2024 08:56:24 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/234301#M561</guid>
      <dc:creator>gbaudart</dc:creator>
      <dc:date>2024-01-15T08:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Add these values</title>
      <link>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/234991#M572</link>
      <description>&lt;P&gt;Thank you for your assistance.&lt;/P&gt;&lt;P&gt;I have a new project and need to prioritize, but I will update you once I have more information. Thank you again for your help and prompt responses.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jan 2024 07:03:27 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Add-these-values/m-p/234991#M572</guid>
      <dc:creator>yuval1983</dc:creator>
      <dc:date>2024-01-21T07:03:27Z</dc:date>
    </item>
  </channel>
</rss>

