<?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: Enterprise Guide proc sql find 3 min values in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Enterprise-Guide-proc-sql-find-3-min-values/m-p/504537#M32229</link>
    <description>&lt;P&gt;PROC UNIVARIATE does this too:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=procstat&amp;amp;docsetTarget=procstat_univariate_examples03.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?docsetId=procstat&amp;amp;docsetTarget=procstat_univariate_examples03.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Oct 2018 23:26:38 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2018-10-15T23:26:38Z</dc:date>
    <item>
      <title>Enterprise Guide proc sql find 3 min values</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Enterprise-Guide-proc-sql-find-3-min-values/m-p/504367#M32224</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table with 45 stores and their total sales. I need to find the stores with the 3 worst sales.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know I can sort the values ascending and then deduct the last 3 but I wonder if there is a way to find the last 3 directly. when I use de min, its only for one value, how do we do to find the 3 min?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lyna&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 16:02:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Enterprise-Guide-proc-sql-find-3-min-values/m-p/504367#M32224</guid>
      <dc:creator>lyna123</dc:creator>
      <dc:date>2018-10-15T16:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Enterprise Guide proc sql find 3 min values</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Enterprise-Guide-proc-sql-find-3-min-values/m-p/504369#M32225</link>
      <description>&lt;P&gt;How about &lt;EM&gt;&lt;STRONG&gt;proc rank&lt;/STRONG&gt;&lt;/EM&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could filter the ranked variable to your needs.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 16:05:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Enterprise-Guide-proc-sql-find-3-min-values/m-p/504369#M32225</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-10-15T16:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Enterprise Guide proc sql find 3 min values</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Enterprise-Guide-proc-sql-find-3-min-values/m-p/504473#M32228</link>
      <description>&lt;P&gt;Any particular reason why Proc SQL must be used? Almost anything that involves order is more difficult in SQL. Did you mean to say sort ASCENDING and &lt;STRONG&gt;keep&lt;/STRONG&gt; the &lt;STRONG&gt;first&lt;/STRONG&gt; three results (obs=3)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Proc Means can do this depending on how many other variables need to be in the output in a single step.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 20:06:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Enterprise-Guide-proc-sql-find-3-min-values/m-p/504473#M32228</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-10-15T20:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Enterprise Guide proc sql find 3 min values</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Enterprise-Guide-proc-sql-find-3-min-values/m-p/504537#M32229</link>
      <description>&lt;P&gt;PROC UNIVARIATE does this too:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=procstat&amp;amp;docsetTarget=procstat_univariate_examples03.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?docsetId=procstat&amp;amp;docsetTarget=procstat_univariate_examples03.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 23:26:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Enterprise-Guide-proc-sql-find-3-min-values/m-p/504537#M32229</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-10-15T23:26:38Z</dc:date>
    </item>
  </channel>
</rss>

