<?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: SAS ED PIVOT TABLE in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ED-PIVOT-TABLE/m-p/353975#M23338</link>
    <description>&lt;P&gt;You're mixing options and ODS destinations.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The options youre trying to use are for TABLEEDITOR and you're using ExcelXP.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfrotunately AFAIK there isn't an easy way to create a direct pivot table in Excel format.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have SAS 9.4M3 then you can also try ODS Excel but it's not exact either. You're better of writing a short VB script to create the pivot table.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Apr 2017 04:44:48 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-04-27T04:44:48Z</dc:date>
    <item>
      <title>SAS ED PIVOT TABLE</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ED-PIVOT-TABLE/m-p/353966#M23337</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am attempting to create a pivot table in SAS.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The work.inputdata file is the SAS&amp;nbsp;dataset that will be used create the pivot table.&lt;/P&gt;
&lt;P&gt;The output excel file that should include the pivot table&amp;nbsp;is the output.example1.xlsx.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please help me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ODS&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; tagsets.ExcelXP &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;file&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"work.inputdata " /*sas dataset that feeds the pivot*/&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;options(&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;button_text = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"Create PivotTable"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;auto_excel = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"yes"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;pivotrow = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"month"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;pivotcol = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"shirts,bottoms"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;pivotdata = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"sales"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;excel_save_file=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"output.example1.xlsx"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;quit=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"NO"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;);&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;Title1&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="3"&gt;"Example 1 - Create the First Pivot Table"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ODS&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; tagsets.ExcelXP &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;close&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;; &lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2017 03:21:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ED-PIVOT-TABLE/m-p/353966#M23337</guid>
      <dc:creator>thomask23</dc:creator>
      <dc:date>2017-04-27T03:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ED PIVOT TABLE</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ED-PIVOT-TABLE/m-p/353975#M23338</link>
      <description>&lt;P&gt;You're mixing options and ODS destinations.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The options youre trying to use are for TABLEEDITOR and you're using ExcelXP.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfrotunately AFAIK there isn't an easy way to create a direct pivot table in Excel format.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have SAS 9.4M3 then you can also try ODS Excel but it's not exact either. You're better of writing a short VB script to create the pivot table.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2017 04:44:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ED-PIVOT-TABLE/m-p/353975#M23338</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-04-27T04:44:48Z</dc:date>
    </item>
  </channel>
</rss>

