<?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: Getting Previous Year as text in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Getting-Previous-Year-as-text/m-p/678339#M1058404</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;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AddMonths(Date#(YourField,'MMM YY'),-11)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;use AddYears(Date#(YourField,'MMM YY'),-1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Oct 2014 05:28:49 GMT</pubDate>
    <dc:creator>PrashantSangle</dc:creator>
    <dc:date>2014-10-08T05:28:49Z</dc:date>
    <item>
      <title>Getting Previous Year as text</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Previous-Year-as-text/m-p/678338#M1058403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am selecting a month (ex- Sep 13) from list box. I have text box where in I want to display Oct 12 as output.&lt;/P&gt;&lt;P&gt;Any idea how to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried with the following&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;-365),'MMM-YY') &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, it doesnt work. It throws Sep 12. Here Month is a field in table having values like May 13, June 13 etc..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 05:25:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Previous-Year-as-text/m-p/678338#M1058403</guid>
      <dc:creator />
      <dc:date>2014-10-08T05:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Previous Year as text</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Previous-Year-as-text/m-p/678339#M1058404</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;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AddMonths(Date#(YourField,'MMM YY'),-11)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;use AddYears(Date#(YourField,'MMM YY'),-1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 05:28:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Previous-Year-as-text/m-p/678339#M1058404</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-10-08T05:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Previous Year as text</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Previous-Year-as-text/m-p/678340#M1058405</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;If you want output in MMM YY format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(AddMonths(Date#(YourField,'MMM YY'),-11),'MMM YY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 05:30:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Previous-Year-as-text/m-p/678340#M1058405</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-10-08T05:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Previous Year as text</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Previous-Year-as-text/m-p/678341#M1058406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks mate..it works..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 05:33:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Previous-Year-as-text/m-p/678341#M1058406</guid>
      <dc:creator />
      <dc:date>2014-10-08T05:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Previous Year as text</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-Previous-Year-as-text/m-p/678342#M1058407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vimal;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;=Date(Addmonths(date#([Your field]),-11),'MMM YY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 05:35:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-Previous-Year-as-text/m-p/678342#M1058407</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2014-10-08T05:35:37Z</dc:date>
    </item>
  </channel>
</rss>

