<?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: Calculate Last 6 months in Load Script? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculate-Last-6-months-in-Load-Script/m-p/844827#M296693</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;try this, hope this will help you.&lt;/P&gt;&lt;P&gt;suppose you have to calculate sale for last 6 month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(&lt;/P&gt;&lt;P&gt;datefield&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;addmonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;date&lt;/SPAN&gt;(datefield)&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,-6)&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &lt;BR /&gt;&lt;/SPAN&gt;datefield&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &amp;lt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;datefield),sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Apr 2015 21:40:31 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-04-28T21:40:31Z</dc:date>
    <item>
      <title>Calculate Last 6 months in Load Script?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Last-6-months-in-Load-Script/m-p/844825#M296691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Month field with 12 months values like = Mar-15, Feb-15, Jan-15, Dec-14, Nov-14 etc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to write a script in Load statement, where it would calculate the Last 6 Months of data dynamically.&lt;/P&gt;&lt;P&gt;Ex- When I select Mar-15, then 6 Months of data(Mar-15 - Oct-14) will be calculated and will be displayed in an Object.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; When &lt;SPAN style="font-size: 13.3333330154419px;"&gt;I select Feb-15, then 6 Months of data(Feb-15 - Sep-14) will be calculated and will be displayed in an Object.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using the below clause, but its getting calculated for the particular month (Its not becoming dynamic) :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[Month]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;addmonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;MonthName&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(),0), 'MM/DD/YYYY'),-6)&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[Month]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &amp;lt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;addmonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;MonthName&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(),0), 'MM/DD/YYYY'),0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 13.3333330154419px; font-family: 'Courier New';"&gt;So this expression is always calculating the data of latest month and previous 6 months.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 13.3333330154419px; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 13.3333330154419px; font-family: 'Courier New';"&gt;Could someone please help this to make dynamic.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 13.3333330154419px; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 13.3333330154419px; font-family: 'Courier New';"&gt;Regards!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 21:00:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Last-6-months-in-Load-Script/m-p/844825#M296691</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2015-04-28T21:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Last 6 months in Load Script?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Last-6-months-in-Load-Script/m-p/844826#M296692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;your backend script does not has a direct relation to the data that gets displayed &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4247"&gt;QlikView App: Dates, Date Ranges and Set Analysis&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is an option to do this with set analysis &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 21:18:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Last-6-months-in-Load-Script/m-p/844826#M296692</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-04-28T21:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Last 6 months in Load Script?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Last-6-months-in-Load-Script/m-p/844827#M296693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;try this, hope this will help you.&lt;/P&gt;&lt;P&gt;suppose you have to calculate sale for last 6 month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(&lt;/P&gt;&lt;P&gt;datefield&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;addmonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;date&lt;/SPAN&gt;(datefield)&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,-6)&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &lt;BR /&gt;&lt;/SPAN&gt;datefield&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &amp;lt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;datefield),sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 21:40:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Last-6-months-in-Load-Script/m-p/844827#M296693</guid>
      <dc:creator />
      <dc:date>2015-04-28T21:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Last 6 months in Load Script?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Last-6-months-in-Load-Script/m-p/844828#M296694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" height="201" src="https://community.qlik.com/legacyfs/online/85292_1.png" style="height: 201.011363636364px; width: 399px;" width="399" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 22:00:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Last-6-months-in-Load-Script/m-p/844828#M296694</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-04-28T22:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Last 6 months in Load Script?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Last-6-months-in-Load-Script/m-p/844829#M296695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My requirement was to make that calculation dynamic in Load script itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't we have any other solutions/options? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 22:00:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Last-6-months-in-Load-Script/m-p/844829#M296695</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2015-04-28T22:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Last 6 months in Load Script?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Last-6-months-in-Load-Script/m-p/844830#M296696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Massimo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can the same functionality be done in Load Script itself - by any means???? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 22:02:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Last-6-months-in-Load-Script/m-p/844830#M296696</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2015-04-28T22:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Last 6 months in Load Script?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Last-6-months-in-Load-Script/m-p/844831#M296697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can create several dynamic stuff in your script but this is not one of them, whatever you do in your script does not have direct relation with whatever you display in your objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe the requirement was that in the backend ? if that is the case then &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I believe Massimo already provided an alternative on to what to do.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wouldn't go with IF statements to run this since they tend to be slower that doing this at set analysis level&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 22:07:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Last-6-months-in-Load-Script/m-p/844831#M296697</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-04-28T22:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Last 6 months in Load Script?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Last-6-months-in-Load-Script/m-p/844832#M296698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in the script you can cumulate for every&lt;/P&gt;&lt;P&gt;dim1, yearmonth&lt;/P&gt;&lt;P&gt;the sum of the same dim1, yearmonth-6 +.......+ yearmonth-1 + yearmonth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the attachment my idea, try to see (and check) if it helps you&lt;/P&gt;&lt;P&gt;but I really don't understand why you want it in the script &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 22:28:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Last-6-months-in-Load-Script/m-p/844832#M296698</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-04-28T22:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Last 6 months in Load Script?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Last-6-months-in-Load-Script/m-p/844833#M296699</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;Your script is really helpful. But i need next three months from current monthyear.&lt;/P&gt;&lt;P&gt;i have made some changes. That is,&lt;/P&gt;&lt;P&gt;year(date)*12-month(date) as monthid,&amp;nbsp; /* in script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;expression is&lt;/P&gt;&lt;P&gt;=sum({$ &amp;lt;year=,month=,monthyear=,monthid={"&amp;gt;$(=max(monthid)-3)&amp;lt;=$(=max(monthid))"}&amp;gt;}val)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From these changes i am getting three months but like this. Suppose i have selected dec15 so it is giving me jan14, feb14,dec15. but what i want is next two months along with current selection i.e in my case is dec15, however it is giving me previous two months. i want dec15, jan16, feb16. how can i get this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 06:43:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Last-6-months-in-Load-Script/m-p/844833#M296699</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-16T06:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Last 6 months in Load Script?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Last-6-months-in-Load-Script/m-p/844834#M296700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum({$ &amp;lt;year=,month=,monthyear=,monthid={"&amp;gt;$(=max(monthid))&amp;lt;=$(=max(monthid)+2)"}&amp;gt;}val)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 06:53:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Last-6-months-in-Load-Script/m-p/844834#M296700</guid>
      <dc:creator>shraddha_g</dc:creator>
      <dc:date>2017-11-16T06:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Last 6 months in Load Script?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Last-6-months-in-Load-Script/m-p/844835#M296701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;by doing +2 in script it is giving me all of the monthyear that are in my field. i think some change would be required in script line&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;i have done subtraction in script line by which i am getting jan14,feb14&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;year(date)*12-month(date) as monthid,&amp;nbsp; /* in script&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;and in an expression i have written 3 by which it is showing me three months&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=sum({$ &amp;lt;year=,month=,monthyear=,monthid={"&amp;gt;$(=max(monthid)-3)&amp;lt;=$(=max(monthid))"}&amp;gt;}val)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f2f2f2; color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;The original script&amp;nbsp; is&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;year(date)*12+month(date) as monthid,&amp;nbsp; /* in script addition done&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 07:21:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Last-6-months-in-Load-Script/m-p/844835#M296701</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-16T07:21:31Z</dc:date>
    </item>
  </channel>
</rss>

