<?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: Top N% in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Top-N/m-p/569451#M160477</link>
    <description>Depends on the data structure overall, but using PROC RANK should work. &lt;BR /&gt;&lt;BR /&gt;proc rank data=have out=want groups=4;&lt;BR /&gt;by region;&lt;BR /&gt;var sales;&lt;BR /&gt;rank rankSales;&lt;BR /&gt;run;</description>
    <pubDate>Thu, 27 Jun 2019 14:34:44 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2019-06-27T14:34:44Z</dc:date>
    <item>
      <title>Top N%</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Top-N/m-p/569444#M160473</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to find the number of accounts that are responsible for the top 25%, 50%, and 75% of sales in each region. The final output needs to be something like 4 accounts make up the top 25%, 9 make up the top 50%, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there is a way to flag which group each account is in that would be ideal but any guidance would be helpful at this point.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 14:27:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Top-N/m-p/569444#M160473</guid>
      <dc:creator>alexgouv</dc:creator>
      <dc:date>2019-06-27T14:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: Top N%</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Top-N/m-p/569451#M160477</link>
      <description>Depends on the data structure overall, but using PROC RANK should work. &lt;BR /&gt;&lt;BR /&gt;proc rank data=have out=want groups=4;&lt;BR /&gt;by region;&lt;BR /&gt;var sales;&lt;BR /&gt;rank rankSales;&lt;BR /&gt;run;</description>
      <pubDate>Thu, 27 Jun 2019 14:34:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Top-N/m-p/569451#M160477</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-06-27T14:34:44Z</dc:date>
    </item>
  </channel>
</rss>

