<?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 year same month variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Last-year-same-month-variables/m-p/1199290#M877246</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;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Let VLastMonthStart= date(monthStart(AddYears((today()-1),-1)),'1YYMMDD') ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;works fine, give me 1151001&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Oct 2016 09:26:00 GMT</pubDate>
    <dc:creator>t_moutault</dc:creator>
    <dc:date>2016-10-28T09:26:00Z</dc:date>
    <item>
      <title>Last year same month variables</title>
      <link>https://community.qlik.com/t5/QlikView/Last-year-same-month-variables/m-p/1199289#M877243</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;We are having the below variables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vMonthstart = date(MonthStart(today()-1),'1YYMMDD'); = 1161001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let VLastMonthStart= date(monthStart(AddYears((today()-1),-1)),'1YYMMDD') ;=1150101&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here we required an variable which will give same month of last year like ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;VLastMonthStart = 1151001&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks..&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-year-same-month-variables/m-p/1199289#M877243</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Last year same month variables</title>
      <link>https://community.qlik.com/t5/QlikView/Last-year-same-month-variables/m-p/1199290#M877246</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;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Let VLastMonthStart= date(monthStart(AddYears((today()-1),-1)),'1YYMMDD') ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;works fine, give me 1151001&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2016 09:26:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-year-same-month-variables/m-p/1199290#M877246</guid>
      <dc:creator>t_moutault</dc:creator>
      <dc:date>2016-10-28T09:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Last year same month variables</title>
      <link>https://community.qlik.com/t5/QlikView/Last-year-same-month-variables/m-p/1199291#M877248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you need this YearStart instead of AddYears because AddYears will just add one year to today's date, whereas YearStart will take you to the beginning of the year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Date(MonthStart(&lt;SPAN style="color: #ff0000; font-size: 12pt;"&gt;YearStart&lt;/SPAN&gt;((Today()-1),-1)),'1YYMMDD')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2016 09:59:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-year-same-month-variables/m-p/1199291#M877248</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-28T09:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: Last year same month variables</title>
      <link>https://community.qlik.com/t5/QlikView/Last-year-same-month-variables/m-p/1199292#M877249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My bad, you do need the same month of last year? If that is the case than what you have is already seems to be working (like Thomas mentioned above)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2016 10:00:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-year-same-month-variables/m-p/1199292#M877249</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-28T10:00:35Z</dc:date>
    </item>
  </channel>
</rss>

