<?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 Dedupping by priority when multiple rows share the same priority in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Dedupping-by-priority-when-multiple-rows-share-the-same-priority/m-p/468207#M70745</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a data set which I've given values in a column called priority.&amp;nbsp; How can I dedup so that I keep those with the lowest value for priority?&amp;nbsp; For example below, I would want to keep the value where priority = 1 and delete any other priorities.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="priority example.JPG" style="width: 81px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/21072i4EF4E4A59B6FC4FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="priority example.JPG" alt="priority example.JPG" /&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;Thanks,&lt;/P&gt;&lt;P&gt;-Matt&lt;/P&gt;</description>
    <pubDate>Wed, 06 Jun 2018 22:43:26 GMT</pubDate>
    <dc:creator>malmario</dc:creator>
    <dc:date>2018-06-06T22:43:26Z</dc:date>
    <item>
      <title>Dedupping by priority when multiple rows share the same priority</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Dedupping-by-priority-when-multiple-rows-share-the-same-priority/m-p/468207#M70745</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a data set which I've given values in a column called priority.&amp;nbsp; How can I dedup so that I keep those with the lowest value for priority?&amp;nbsp; For example below, I would want to keep the value where priority = 1 and delete any other priorities.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="priority example.JPG" style="width: 81px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/21072i4EF4E4A59B6FC4FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="priority example.JPG" alt="priority example.JPG" /&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;Thanks,&lt;/P&gt;&lt;P&gt;-Matt&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2018 22:43:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Dedupping-by-priority-when-multiple-rows-share-the-same-priority/m-p/468207#M70745</guid>
      <dc:creator>malmario</dc:creator>
      <dc:date>2018-06-06T22:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dedupping by priority when multiple rows share the same priority</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Dedupping-by-priority-when-multiple-rows-share-the-same-priority/m-p/468212#M70746</link>
      <description>&lt;P&gt;In a data step:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Data want;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set have;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; where priority=1;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;will keep only records with the stated priority value. If the value is character then it would have the value inside quote marks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2018 22:57:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Dedupping-by-priority-when-multiple-rows-share-the-same-priority/m-p/468212#M70746</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-06-06T22:57:37Z</dc:date>
    </item>
  </channel>
</rss>

