<?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 Unable to get PivotFields property of Pivot Table class in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Unable-to-get-PivotFields-property-of-Pivot-Table-class/m-p/276043#M16024</link>
    <description>&lt;P&gt;options noxsync noxwait;&lt;BR /&gt;/* reference the tagset from support.sas.com */&lt;BR /&gt;Filename tpl url&lt;BR /&gt;"&lt;A href="http://support.sas.com/rnd/base/ods/odsmarkup/tableeditor/tableeditor.tpl&amp;quot;;" target="_blank"&gt;http://support.sas.com/rnd/base/ods/odsmarkup/tableeditor/tableeditor.tpl";&lt;/A&gt;&lt;/P&gt;&lt;P&gt;/* insert the tagset into the search path for ODS templates */&lt;BR /&gt;Ods path(Prepend) work.templat(update);&lt;BR /&gt;%include tpl;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;ods tagsets.tableeditor file="C:\**\temp.html"&lt;BR /&gt;options(addfield="Calc1 = value1/value5"&lt;BR /&gt;auto_excel="yes"&lt;BR /&gt;excel_open="yes"&lt;BR /&gt;sheet_name="Data"&lt;BR /&gt;pivot_sheet_name="sheetname"&lt;BR /&gt;pivotdata="value1,&amp;nbsp;value2, value3, value4, value5, Calc1"&lt;BR /&gt;pivotdata_caption="Value 1, Value 2, Value 3, Value 4, Value 5, Calculation 1"&lt;BR /&gt;pivotdata_stats="sum, sum, sum, sum, sum, sum"&lt;BR /&gt;pivotrow="category1, category2"&lt;BR /&gt;pivot_format="light1"&lt;BR /&gt;pivotdata_toColumns="yes"&lt;BR /&gt;pivotdata_fmt="#,##0~ #,##0~ #,##0~ #,##0~ #,##0~0.00%"&lt;BR /&gt;)&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;proc print data=sumtable1; run;&lt;/P&gt;&lt;P&gt;ods tagsets.tableeditor close;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After running this code, I receive an error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unable to get PivotFields property of Pivot Table class&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jun 2016 17:46:35 GMT</pubDate>
    <dc:creator>Sasbythebook16</dc:creator>
    <dc:date>2016-06-08T17:46:35Z</dc:date>
    <item>
      <title>Unable to get PivotFields property of Pivot Table class</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Unable-to-get-PivotFields-property-of-Pivot-Table-class/m-p/276043#M16024</link>
      <description>&lt;P&gt;options noxsync noxwait;&lt;BR /&gt;/* reference the tagset from support.sas.com */&lt;BR /&gt;Filename tpl url&lt;BR /&gt;"&lt;A href="http://support.sas.com/rnd/base/ods/odsmarkup/tableeditor/tableeditor.tpl&amp;quot;;" target="_blank"&gt;http://support.sas.com/rnd/base/ods/odsmarkup/tableeditor/tableeditor.tpl";&lt;/A&gt;&lt;/P&gt;&lt;P&gt;/* insert the tagset into the search path for ODS templates */&lt;BR /&gt;Ods path(Prepend) work.templat(update);&lt;BR /&gt;%include tpl;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;ods tagsets.tableeditor file="C:\**\temp.html"&lt;BR /&gt;options(addfield="Calc1 = value1/value5"&lt;BR /&gt;auto_excel="yes"&lt;BR /&gt;excel_open="yes"&lt;BR /&gt;sheet_name="Data"&lt;BR /&gt;pivot_sheet_name="sheetname"&lt;BR /&gt;pivotdata="value1,&amp;nbsp;value2, value3, value4, value5, Calc1"&lt;BR /&gt;pivotdata_caption="Value 1, Value 2, Value 3, Value 4, Value 5, Calculation 1"&lt;BR /&gt;pivotdata_stats="sum, sum, sum, sum, sum, sum"&lt;BR /&gt;pivotrow="category1, category2"&lt;BR /&gt;pivot_format="light1"&lt;BR /&gt;pivotdata_toColumns="yes"&lt;BR /&gt;pivotdata_fmt="#,##0~ #,##0~ #,##0~ #,##0~ #,##0~0.00%"&lt;BR /&gt;)&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;proc print data=sumtable1; run;&lt;/P&gt;&lt;P&gt;ods tagsets.tableeditor close;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After running this code, I receive an error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unable to get PivotFields property of Pivot Table class&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 17:46:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Unable-to-get-PivotFields-property-of-Pivot-Table-class/m-p/276043#M16024</guid>
      <dc:creator>Sasbythebook16</dc:creator>
      <dc:date>2016-06-08T17:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get PivotFields property of Pivot Table class</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Unable-to-get-PivotFields-property-of-Pivot-Table-class/m-p/277383#M16092</link>
      <description>&lt;P&gt;Make sure that the table header names in the source worksheet and HTML table&amp;nbsp;match the fields Value1-Value5 that you have included with the&amp;nbsp;PivotData= option.&amp;nbsp;For instance, make sure that you don't have them displayed with labels and&amp;nbsp;use the actual column names in the option. The&amp;nbsp;table headers should match the values specified in the &amp;nbsp;Pivotdata= option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 21:02:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Unable-to-get-PivotFields-property-of-Pivot-Table-class/m-p/277383#M16092</guid>
      <dc:creator>Chevell_sas</dc:creator>
      <dc:date>2016-06-14T21:02:19Z</dc:date>
    </item>
    <item>
      <title>Hi , Can you find a solution for this? Thank you in advan...</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Unable-to-get-PivotFields-property-of-Pivot-Table-class/m-p/626751#M23794</link>
      <description>Hi , Can you find a solution for this? Thank you in advance. Regards</description>
      <pubDate>Sun, 23 Feb 2020 20:17:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Unable-to-get-PivotFields-property-of-Pivot-Table-class/m-p/626751#M23794</guid>
      <dc:creator>Thomas10</dc:creator>
      <dc:date>2020-02-23T20:17:17Z</dc:date>
    </item>
  </channel>
</rss>

