<?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: Months in Pivot table - SAS add in in Microsoft Integration with SAS</title>
    <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Months-in-Pivot-table-SAS-add-in/m-p/26059#M499</link>
    <description>Although your example is not clear to me, maybe I can help.&lt;BR /&gt;
&lt;BR /&gt;
SAS can't write any data to the pivot table that isn't contained in the data set.  If you want to display a zero month in the pivot table, you need to build a zero month in the SAS data set first, e.g.  200902 TX Dallas 0</description>
    <pubDate>Mon, 04 May 2009 18:12:14 GMT</pubDate>
    <dc:creator>Bill</dc:creator>
    <dc:date>2009-05-04T18:12:14Z</dc:date>
    <item>
      <title>Months in Pivot table - SAS add in</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Months-in-Pivot-table-SAS-add-in/m-p/26058#M498</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I have a sas data set that am trying to open it into a pivot table using sas add in.&lt;BR /&gt;
The data set that I have has &lt;BR /&gt;
&lt;BR /&gt;
Month                     State           City                   crime rate&lt;BR /&gt;
200901                    TX                Dallas                 57&lt;BR /&gt;
200812                     TX               Dallas                 55&lt;BR /&gt;
200812                    TX                Houston              45&lt;BR /&gt;
200810                    ny                 Long island         21  &lt;BR /&gt;
&lt;BR /&gt;
When I try to open the above data set like &lt;BR /&gt;
&lt;U&gt;Table 1&lt;/U&gt;&lt;BR /&gt;
                  Month          200901            200812            &lt;BR /&gt;
State  &lt;BR /&gt;
TX         Dallas                   57                 55&lt;BR /&gt;
  &lt;BR /&gt;
&lt;U&gt;Table 2&lt;/U&gt;&lt;BR /&gt;
&lt;BR /&gt;
                  Month          200901            200812            &lt;BR /&gt;
State  &lt;BR /&gt;
TX       Houston                  57                 55&lt;BR /&gt;
&lt;BR /&gt;
&lt;U&gt;Table 3&lt;/U&gt;&lt;BR /&gt;
&lt;BR /&gt;
Month                               200810          &lt;BR /&gt;
State  &lt;BR /&gt;
ny               Long island         21  &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
I want to get values 0 and if the data is not present for the month. It should start from the latest month available in teh data set and run to 12 months past that date.&lt;BR /&gt;
&lt;BR /&gt;
How can I do that?&lt;BR /&gt;
&lt;BR /&gt;
Any help is much appreciated. My goal is to look for the same months across all the pivot tables and if there is not data then it should write zero in it.&lt;BR /&gt;
&lt;BR /&gt;
Please help</description>
      <pubDate>Fri, 01 May 2009 17:50:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Months-in-Pivot-table-SAS-add-in/m-p/26058#M498</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-05-01T17:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: Months in Pivot table - SAS add in</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Months-in-Pivot-table-SAS-add-in/m-p/26059#M499</link>
      <description>Although your example is not clear to me, maybe I can help.&lt;BR /&gt;
&lt;BR /&gt;
SAS can't write any data to the pivot table that isn't contained in the data set.  If you want to display a zero month in the pivot table, you need to build a zero month in the SAS data set first, e.g.  200902 TX Dallas 0</description>
      <pubDate>Mon, 04 May 2009 18:12:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Months-in-Pivot-table-SAS-add-in/m-p/26059#M499</guid>
      <dc:creator>Bill</dc:creator>
      <dc:date>2009-05-04T18:12:14Z</dc:date>
    </item>
  </channel>
</rss>

