<?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 Rename result of a DQL in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Rename-result-of-a-DQL/m-p/274981#M1931</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Is it possible to rename the result of a DQL query?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Etienne1_0-1744382168671.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/27512iCFE5527D1A4F773F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Etienne1_0-1744382168671.png" alt="Etienne1_0-1744382168671.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I would like to display SQL instead of ‘SP00’ for example&lt;/P&gt;</description>
    <pubDate>Fri, 11 Apr 2025 14:38:25 GMT</pubDate>
    <dc:creator>Etienne1</dc:creator>
    <dc:date>2025-04-11T14:38:25Z</dc:date>
    <item>
      <title>Rename result of a DQL</title>
      <link>https://community.dynatrace.com/t5/DQL/Rename-result-of-a-DQL/m-p/274981#M1931</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Is it possible to rename the result of a DQL query?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Etienne1_0-1744382168671.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/27512iCFE5527D1A4F773F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Etienne1_0-1744382168671.png" alt="Etienne1_0-1744382168671.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I would like to display SQL instead of ‘SP00’ for example&lt;/P&gt;</description>
      <pubDate>Fri, 11 Apr 2025 14:38:25 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Rename-result-of-a-DQL/m-p/274981#M1931</guid>
      <dc:creator>Etienne1</dc:creator>
      <dc:date>2025-04-11T14:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Rename result of a DQL</title>
      <link>https://community.dynatrace.com/t5/DQL/Rename-result-of-a-DQL/m-p/274985#M1932</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/79556"&gt;@Etienne1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How is going? I can help you with that &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can simply add this code snippet to yours:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| fieldsAdd Name = replaceString(entityName(dt.entity.host), "SP00", "SQL")
| fields arrayLast(availability), Name&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;and should work as you want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Apr 2025 15:05:15 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Rename-result-of-a-DQL/m-p/274985#M1932</guid>
      <dc:creator>MaximilianoML</dc:creator>
      <dc:date>2025-04-11T15:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Rename result of a DQL</title>
      <link>https://community.dynatrace.com/t5/DQL/Rename-result-of-a-DQL/m-p/275054#M1936</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;After having tried a number of methods I can't manage to ensure that there is a single column with the name of all the renamed servers and not lots of different columns.&lt;/P&gt;&lt;P&gt;Example of a column I would like to have :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Host&lt;BR /&gt;&lt;BR /&gt;App&lt;BR /&gt;SQL&lt;BR /&gt;Web&lt;BR /&gt;edit&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Etienne1_0-1744618376939.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/27526i44BF515434112272/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Etienne1_0-1744618376939.png" alt="Etienne1_0-1744618376939.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2025 08:26:01 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Rename-result-of-a-DQL/m-p/275054#M1936</guid>
      <dc:creator>Etienne1</dc:creator>
      <dc:date>2025-04-14T08:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Rename result of a DQL</title>
      <link>https://community.dynatrace.com/t5/DQL/Rename-result-of-a-DQL/m-p/275060#M1937</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/79556"&gt;@Etienne1&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;&lt;P&gt;Yeah, make sense, the &lt;STRONG&gt;fieldsadd&amp;nbsp;&lt;/STRONG&gt;creates a new Field (Column), so putting all in the same&amp;nbsp;&lt;STRONG&gt;Field&lt;/STRONG&gt; name as "Host", must work. But I'm not sure what you want, could you share your full example (Change the data of course), and your purpose with this query.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Maximiliano Lopes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2025 09:31:15 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Rename-result-of-a-DQL/m-p/275060#M1937</guid>
      <dc:creator>MaximilianoML</dc:creator>
      <dc:date>2025-04-14T09:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Rename result of a DQL</title>
      <link>https://community.dynatrace.com/t5/DQL/Rename-result-of-a-DQL/m-p/275062#M1938</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Even when I use the Fields function and not FieldsAdd, it still creates other columns&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Etienne1_1-1744623576776.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/27530i2927801F552DF463/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Etienne1_1-1744623576776.png" alt="Etienne1_1-1744623576776.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>Mon, 14 Apr 2025 09:39:45 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Rename-result-of-a-DQL/m-p/275062#M1938</guid>
      <dc:creator>Etienne1</dc:creator>
      <dc:date>2025-04-14T09:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: Rename result of a DQL</title>
      <link>https://community.dynatrace.com/t5/DQL/Rename-result-of-a-DQL/m-p/276034#M2006</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I managed to rename my servers by parsing the tags,&amp;nbsp;if that helps anyone&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Etienne1_2-1745824589930.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/27739i748DFA1A8BE6166D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Etienne1_2-1745824589930.png" alt="Etienne1_2-1745824589930.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;here is the result&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Etienne1_1-1745824371159.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/27738i8A3B106DED893E05/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Etienne1_1-1745824371159.png" alt="Etienne1_1-1745824371159.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2025 07:17:39 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Rename-result-of-a-DQL/m-p/276034#M2006</guid>
      <dc:creator>Etienne1</dc:creator>
      <dc:date>2025-04-28T07:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Rename result of a DQL</title>
      <link>https://community.dynatrace.com/t5/DQL/Rename-result-of-a-DQL/m-p/283867#M2454</link>
      <description>&lt;P&gt;Is there a way to rename a field dynamically ? I am creating a comparison dashboard, and need to show the column like column_prod, column_cap. But the environment is a variable and chosen by user. I am not able to rename the column using a variable. Any help is really appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Aug 2025 18:07:33 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Rename-result-of-a-DQL/m-p/283867#M2454</guid>
      <dc:creator>susmita_k</dc:creator>
      <dc:date>2025-08-14T18:07:33Z</dc:date>
    </item>
  </channel>
</rss>

