<?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 IMAP and previous month in SAS Web Report Studio</title>
    <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/IMAP-and-previous-month/m-p/28318#M427</link>
    <description>Hello All,&lt;BR /&gt;
            I am running into an issue when I try to report all the activity for the previous month. There are 2 issues my month is not the same as the calendar month(meaning the a school_month can span between 2 calendar months) I have a table which gives me the start date and end date for each school_month with the month_number. I also have a column where I can check what the current school month is, but I am not able to filter on the data for the previous month. Here is how the data is&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
m_start_date        m_end_date           s_month          curr_s_month&lt;BR /&gt;
8/25/09                    9/22/09                1                   &lt;BR /&gt;
9/23/09                    10/22/09              2&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
4/15/10                   5/12/10                 8       &lt;BR /&gt;
5/13/10                    6/10/10                  9                           9 ( because today's date falls in this range)&lt;BR /&gt;
&lt;BR /&gt;
and I want to display all records for &lt;BR /&gt;
s_month=8 until cur_month = 9  and&lt;BR /&gt;
s_month = 9    when cur_month = 10 &lt;BR /&gt;
&lt;BR /&gt;
Is this even possible......&lt;BR /&gt;
&lt;BR /&gt;
I appreciate any input you have. And thanks to all of you I have been able to use SAS in a much more efficient way.&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
Shri</description>
    <pubDate>Thu, 27 May 2010 14:58:12 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2010-05-27T14:58:12Z</dc:date>
    <item>
      <title>IMAP and previous month</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/IMAP-and-previous-month/m-p/28318#M427</link>
      <description>Hello All,&lt;BR /&gt;
            I am running into an issue when I try to report all the activity for the previous month. There are 2 issues my month is not the same as the calendar month(meaning the a school_month can span between 2 calendar months) I have a table which gives me the start date and end date for each school_month with the month_number. I also have a column where I can check what the current school month is, but I am not able to filter on the data for the previous month. Here is how the data is&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
m_start_date        m_end_date           s_month          curr_s_month&lt;BR /&gt;
8/25/09                    9/22/09                1                   &lt;BR /&gt;
9/23/09                    10/22/09              2&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
4/15/10                   5/12/10                 8       &lt;BR /&gt;
5/13/10                    6/10/10                  9                           9 ( because today's date falls in this range)&lt;BR /&gt;
&lt;BR /&gt;
and I want to display all records for &lt;BR /&gt;
s_month=8 until cur_month = 9  and&lt;BR /&gt;
s_month = 9    when cur_month = 10 &lt;BR /&gt;
&lt;BR /&gt;
Is this even possible......&lt;BR /&gt;
&lt;BR /&gt;
I appreciate any input you have. And thanks to all of you I have been able to use SAS in a much more efficient way.&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
Shri</description>
      <pubDate>Thu, 27 May 2010 14:58:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/IMAP-and-previous-month/m-p/28318#M427</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-05-27T14:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: IMAP and previous month</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/IMAP-and-previous-month/m-p/28319#M428</link>
      <description>Shri,&lt;BR /&gt;
Within the IMAP Filter creation screen, after selecting s_month = 8, click 'Add', then select cur_month &amp;lt; 9, then click 'Add'. You will then have both criteria within a single filter available for use. (You can view the filter expression by clicking the '+' to expand that area of the filter screen.)&lt;BR /&gt;
&lt;BR /&gt;
~ Angela&lt;BR /&gt;
&lt;A href="http://sas-bi.blogspot.com" target="_blank"&gt;http://sas-bi.blogspot.com&lt;/A&gt;</description>
      <pubDate>Fri, 28 May 2010 17:16:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/IMAP-and-previous-month/m-p/28319#M428</guid>
      <dc:creator>AngelaHall</dc:creator>
      <dc:date>2010-05-28T17:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: IMAP and previous month</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/IMAP-and-previous-month/m-p/28320#M429</link>
      <description>Shri,&lt;BR /&gt;
&lt;BR /&gt;
 What we do is have attributes on the dimension loaded during ETL- this might be more helpful when dealing with non-standard dates.&lt;BR /&gt;
In the dimension in question, the attribute could be called Current Month and the value at the current month will always be "Current Month". The Previous value would be called " Previous Month".&lt;BR /&gt;
With this you could schedule your reports to  WHERE Current = " "Previous Month".&lt;BR /&gt;
&lt;BR /&gt;
You might need to proc format to sort.</description>
      <pubDate>Tue, 01 Jun 2010 18:29:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/IMAP-and-previous-month/m-p/28320#M429</guid>
      <dc:creator>jplarios</dc:creator>
      <dc:date>2010-06-01T18:29:33Z</dc:date>
    </item>
  </channel>
</rss>

