<?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>question CMDB Query / duplicate rows in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/cmdb-query-duplicate-rows/m-p/2845631#M1089642</link>
    <description>&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;I have a CMDB query that is the source for a report, it appears each time the query executes it doubles the number of records found on the report.&amp;nbsp; Is there a way to return the distinct records or at least the latest result set, not including previous runs of the query....&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="drslry2_0-1709223732881.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/334531i13FED2AC63FD5B49/image-size/medium?v=v2&amp;amp;px=400" role="button" title="drslry2_0-1709223732881.png" alt="drslry2_0-1709223732881.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Feb 2024 16:22:39 GMT</pubDate>
    <dc:creator>drslry2</dc:creator>
    <dc:date>2024-02-29T16:22:39Z</dc:date>
    <item>
      <title>CMDB Query / duplicate rows</title>
      <link>https://www.servicenow.com/community/developer-forum/cmdb-query-duplicate-rows/m-p/2845631#M1089642</link>
      <description>&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;I have a CMDB query that is the source for a report, it appears each time the query executes it doubles the number of records found on the report.&amp;nbsp; Is there a way to return the distinct records or at least the latest result set, not including previous runs of the query....&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="drslry2_0-1709223732881.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/334531i13FED2AC63FD5B49/image-size/medium?v=v2&amp;amp;px=400" role="button" title="drslry2_0-1709223732881.png" alt="drslry2_0-1709223732881.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 16:22:39 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/cmdb-query-duplicate-rows/m-p/2845631#M1089642</guid>
      <dc:creator>drslry2</dc:creator>
      <dc:date>2024-02-29T16:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: CMDB Query / duplicate rows</title>
      <link>https://www.servicenow.com/community/developer-forum/cmdb-query-duplicate-rows/m-p/2845640#M1089647</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/213912"&gt;@drslry2&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please provide the query you are trying to run, to know more ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 16:26:06 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/cmdb-query-duplicate-rows/m-p/2845640#M1089647</guid>
      <dc:creator>Sohithanjan G</dc:creator>
      <dc:date>2024-02-29T16:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: CMDB Query / duplicate rows</title>
      <link>https://www.servicenow.com/community/developer-forum/cmdb-query-duplicate-rows/m-p/2845644#M1089649</link>
      <description>&lt;P&gt;Its look duplicate, but seems 1/ 2 field must be different like parent or child.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 16:29:46 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/cmdb-query-duplicate-rows/m-p/2845644#M1089649</guid>
      <dc:creator>Dr Atul - LNG</dc:creator>
      <dc:date>2024-02-29T16:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: CMDB Query / duplicate rows</title>
      <link>https://www.servicenow.com/community/developer-forum/cmdb-query-duplicate-rows/m-p/2845646#M1089650</link>
      <description>&lt;P&gt;Here's the query, thanks for the reply...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="drslry2_0-1709224190422.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/334534i6E6D79A17BD2280F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="drslry2_0-1709224190422.png" alt="drslry2_0-1709224190422.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 16:30:02 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/cmdb-query-duplicate-rows/m-p/2845646#M1089650</guid>
      <dc:creator>drslry2</dc:creator>
      <dc:date>2024-02-29T16:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: CMDB Query / duplicate rows</title>
      <link>https://www.servicenow.com/community/developer-forum/cmdb-query-duplicate-rows/m-p/2845678#M1089657</link>
      <description>&lt;P&gt;some table relationship is creating this duplicate result ( if so ), you can &lt;STRONG&gt;detach&lt;/STRONG&gt;&amp;nbsp; one-by -one OR condition class and check the result. This way you will get the&amp;nbsp; "causing" class.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 16:53:22 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/cmdb-query-duplicate-rows/m-p/2845678#M1089657</guid>
      <dc:creator>AshishKM</dc:creator>
      <dc:date>2024-02-29T16:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: CMDB Query / duplicate rows</title>
      <link>https://www.servicenow.com/community/developer-forum/cmdb-query-duplicate-rows/m-p/2845683#M1089659</link>
      <description>&lt;P&gt;Does the duplicate 'problem' occur when the query is run multiple times, ie if the query runs 3x in one day, then there are three versions of the returned results?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 16:57:25 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/cmdb-query-duplicate-rows/m-p/2845683#M1089659</guid>
      <dc:creator>drslry2</dc:creator>
      <dc:date>2024-02-29T16:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: CMDB Query / duplicate rows</title>
      <link>https://www.servicenow.com/community/developer-forum/cmdb-query-duplicate-rows/m-p/2845688#M1089662</link>
      <description>&lt;P&gt;No,&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/213912"&gt;@drslry2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I agree with&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/230435"&gt;@AshishKM&lt;/a&gt;&amp;nbsp;its class creating issue and some thing similar i said &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 16:59:55 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/cmdb-query-duplicate-rows/m-p/2845688#M1089662</guid>
      <dc:creator>Dr Atul - LNG</dc:creator>
      <dc:date>2024-02-29T16:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: CMDB Query / duplicate rows</title>
      <link>https://www.servicenow.com/community/developer-forum/cmdb-query-duplicate-rows/m-p/3022917#M1139582</link>
      <description>&lt;P&gt;Hi, this happened to me and I found out that when I create the report directly from Query Builder interface, it creates a report that is updated, and it doesn't duplicate the results every time the schedule runs.&lt;/P&gt;&lt;P&gt;When I create the reports from "Create Report" and select the Table query, it's when i get duplicates, but if I create the report from the Query Builder interface, it works fine.&amp;nbsp; I hope it helps.&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="MercedesPons1_0-1724185520159.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/380411i5E947D58A6B7B31E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MercedesPons1_0-1724185520159.png" alt="MercedesPons1_0-1724185520159.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 20:26:43 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/cmdb-query-duplicate-rows/m-p/3022917#M1139582</guid>
      <dc:creator>Mercedes Pons 1</dc:creator>
      <dc:date>2024-08-20T20:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: CMDB Query / duplicate rows</title>
      <link>https://www.servicenow.com/community/developer-forum/cmdb-query-duplicate-rows/m-p/3179114#M1179798</link>
      <description>&lt;P&gt;In short, when you use the report select the cmdb query result as the Report Source and not the Table.&amp;nbsp; If you use the Table as Data source you will see duplicates for every time the report runs.&lt;/P&gt;</description>
      <pubDate>Sun, 16 Feb 2025 23:20:37 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/cmdb-query-duplicate-rows/m-p/3179114#M1179798</guid>
      <dc:creator>MichaelScotland</dc:creator>
      <dc:date>2025-02-16T23:20:37Z</dc:date>
    </item>
  </channel>
</rss>

