<?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: Last Three Months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Last-Three-Months/m-p/541312#M550815</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Month&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AddMonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(),-1)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;U can use it to return previous month...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Nov 2013 07:46:16 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-11-19T07:46:16Z</dc:date>
    <item>
      <title>Last Three Months</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Three-Months/m-p/541310#M550813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to get the Month names for last three months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can get the current month name using the following expression:&lt;/P&gt;&lt;P&gt;Month(Today())&lt;/P&gt;&lt;P&gt;it returns me Nov.&lt;/P&gt;&lt;P&gt;But when I try using Month(Today())-1 it returns the value 10 instead of Oct.&lt;/P&gt;&lt;P&gt;To solve this issue I tried using Monthname(month(Today())-1) but it returns the value 'Jan 1900' instead of converting the '10' in Oct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I get the previous month name?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 07:32:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Three-Months/m-p/541310#M550813</guid>
      <dc:creator />
      <dc:date>2013-11-19T07:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Last Three Months</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Three-Months/m-p/541311#M550814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try Addmonths Function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Month(Addmonths(Today(),-1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; To get Previous Month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Month(Addmonths(Today(),-2)) - to get the Month of Previous to Previous Month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 07:41:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Three-Months/m-p/541311#M550814</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-11-19T07:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Last Three Months</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Three-Months/m-p/541312#M550815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Month&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AddMonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(),-1)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;U can use it to return previous month...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 07:46:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Three-Months/m-p/541312#M550815</guid>
      <dc:creator />
      <dc:date>2013-11-19T07:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Last Three Months</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Three-Months/m-p/541313#M550816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. It worked&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 07:54:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Three-Months/m-p/541313#M550816</guid>
      <dc:creator />
      <dc:date>2013-11-19T07:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: Last Three Months</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Three-Months/m-p/541314#M550817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The &lt;A href="https://community.qlik.com/qlik-users/34510"&gt;Kaushik Solanki&lt;/A&gt; response is correct to get the previous months. Then you can use the Date function to format that dates as desired:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Date(AddMonths(Today(), -1), 'M') --&amp;gt; 10&lt;/P&gt;&lt;P&gt;=Date(AddMonths(Today(), -1), 'MMM') --&amp;gt; oct&lt;/P&gt;&lt;P&gt;=Date(AddMonths(Today(), -1), 'MMMM') --&amp;gt; october&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 07:55:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Three-Months/m-p/541314#M550817</guid>
      <dc:creator />
      <dc:date>2013-11-19T07:55:49Z</dc:date>
    </item>
  </channel>
</rss>

