<?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: Query Builder - Display Distinct Rows Based On ID in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Query-Builder-Display-Distinct-Rows-Based-On-ID/m-p/399237#M25661</link>
    <description>&lt;P&gt;Great, thank you FredrikE. &amp;nbsp;Worked very well. &amp;nbsp;I created another query(see below) to use only for joining. &amp;nbsp;There was another column ID I needed. &amp;nbsp;I used the MAX function for that column so there would be no repeat IDs from the first column, and because I only need the highest number for that variable.&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="SAS_Query.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/15457i5BAD4256D73FD6AE/image-size/large?v=v2&amp;amp;px=999" role="button" title="SAS_Query.png" alt="SAS_Query.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Sep 2017 15:42:27 GMT</pubDate>
    <dc:creator>Fistful_Dollars</dc:creator>
    <dc:date>2017-09-27T15:42:27Z</dc:date>
    <item>
      <title>Query Builder - Display Distinct Rows Based On ID</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Query-Builder-Display-Distinct-Rows-Based-On-ID/m-p/398985#M25642</link>
      <description>&lt;P&gt;How do I display only distinct accounts/IDs? &amp;nbsp;Right now the output pops out dozens of the same exact row, except certain columns have different dates.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="query_builder.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/15438i462E084DC6ECD9D4/image-size/large?v=v2&amp;amp;px=999" role="button" title="query_builder.png" alt="query_builder.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 00:04:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Query-Builder-Display-Distinct-Rows-Based-On-ID/m-p/398985#M25642</guid>
      <dc:creator>Fistful_Dollars</dc:creator>
      <dc:date>2017-09-27T00:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Query Builder - Display Distinct Rows Based On ID</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Query-Builder-Display-Distinct-Rows-Based-On-ID/m-p/399034#M25649</link>
      <description>&lt;P&gt;Just keep the ID column &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then use the resulting table to join with other data you need.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;//Fredrik&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 06:03:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Query-Builder-Display-Distinct-Rows-Based-On-ID/m-p/399034#M25649</guid>
      <dc:creator>FredrikE</dc:creator>
      <dc:date>2017-09-27T06:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Query Builder - Display Distinct Rows Based On ID</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Query-Builder-Display-Distinct-Rows-Based-On-ID/m-p/399237#M25661</link>
      <description>&lt;P&gt;Great, thank you FredrikE. &amp;nbsp;Worked very well. &amp;nbsp;I created another query(see below) to use only for joining. &amp;nbsp;There was another column ID I needed. &amp;nbsp;I used the MAX function for that column so there would be no repeat IDs from the first column, and because I only need the highest number for that variable.&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="SAS_Query.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/15457i5BAD4256D73FD6AE/image-size/large?v=v2&amp;amp;px=999" role="button" title="SAS_Query.png" alt="SAS_Query.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 15:42:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Query-Builder-Display-Distinct-Rows-Based-On-ID/m-p/399237#M25661</guid>
      <dc:creator>Fistful_Dollars</dc:creator>
      <dc:date>2017-09-27T15:42:27Z</dc:date>
    </item>
  </channel>
</rss>

