<?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 Creating a view in EG containing Window Functions in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Creating-a-view-in-EG-containing-Window-Functions/m-p/257944#M18049</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a EG 7.1 user who wants to&amp;nbsp;create a SAS view that can contain Ordered Analytical Functions (aka Window Functions), which are not available in SAS. &amp;nbsp;Does anyone know if it can be done and, if so, the code required to do so?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 21 Mar 2016 12:55:13 GMT</pubDate>
    <dc:creator>Djreese</dc:creator>
    <dc:date>2016-03-21T12:55:13Z</dc:date>
    <item>
      <title>Creating a view in EG containing Window Functions</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Creating-a-view-in-EG-containing-Window-Functions/m-p/257944#M18049</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a EG 7.1 user who wants to&amp;nbsp;create a SAS view that can contain Ordered Analytical Functions (aka Window Functions), which are not available in SAS. &amp;nbsp;Does anyone know if it can be done and, if so, the code required to do so?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2016 12:55:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Creating-a-view-in-EG-containing-Window-Functions/m-p/257944#M18049</guid>
      <dc:creator>Djreese</dc:creator>
      <dc:date>2016-03-21T12:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a view in EG containing Window Functions</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Creating-a-view-in-EG-containing-Window-Functions/m-p/257970#M18051</link>
      <description>&lt;P&gt;SAS usually uses BY groups to accomplish this in a datastep.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't think you can replicate it directly in Proc SQL. If you can use pass through then you may be able to use the windowing functions but I don't know if that's possible in a view.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So basically - you can't use window functions directly, but there are other ways to achieve the same thing in SAS.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2016 14:49:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Creating-a-view-in-EG-containing-Window-Functions/m-p/257970#M18051</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-03-21T14:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a view in EG containing Window Functions</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Creating-a-view-in-EG-containing-Window-Functions/m-p/257971#M18052</link>
      <description>&lt;P&gt;No. &amp;nbsp;Put you can create a data step view and so get any level of complexity you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want/ view=want ;
   set have ;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 21 Mar 2016 14:51:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Creating-a-view-in-EG-containing-Window-Functions/m-p/257971#M18052</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2016-03-21T14:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a view in EG containing Window Functions</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Creating-a-view-in-EG-containing-Window-Functions/m-p/257990#M18055</link>
      <description>&lt;P&gt;Thank you Reeza. I'm not familiar enough with using pass through but will research further.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2016 15:54:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Creating-a-view-in-EG-containing-Window-Functions/m-p/257990#M18055</guid>
      <dc:creator>Djreese</dc:creator>
      <dc:date>2016-03-21T15:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a view in EG containing Window Functions</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Creating-a-view-in-EG-containing-Window-Functions/m-p/257991#M18056</link>
      <description>&lt;P&gt;Thanks Tom&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2016 15:58:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Creating-a-view-in-EG-containing-Window-Functions/m-p/257991#M18056</guid>
      <dc:creator>Djreese</dc:creator>
      <dc:date>2016-03-21T15:58:09Z</dc:date>
    </item>
  </channel>
</rss>

