<?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: 3 Months Rolling in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/3-Months-Rolling-in-script/m-p/40921#M6922</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny Bhai. Can you please tell me why we need to like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean like the below one two times&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If(Key = Peek(Key, -1), Peek(Test,-1)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;Do we need to need like this for 3 months or is there any other method? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Mar 2018 14:02:59 GMT</pubDate>
    <dc:creator>bharatkishore</dc:creator>
    <dc:date>2018-03-16T14:02:59Z</dc:date>
    <item>
      <title>3 Months Rolling in script</title>
      <link>https://community.qlik.com/t5/QlikView/3-Months-Rolling-in-script/m-p/40915#M6916</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 few few fields and an&amp;nbsp; yearmonth column and ITM field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year Month i have years from 201601 to 201802.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And for ITM field i don't have any data for whole year 2016.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i am calculating 3 month rolling for that i have given the below expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeSum(Test,Peek(Test,-1),peek(Test,-2)) as [3Month]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output is getting what i am expected but i am getting data for 2016 also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please let me know what is the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached app for reference&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bharat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2018 13:17:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/3-Months-Rolling-in-script/m-p/40915#M6916</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-03-16T13:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: 3 Months Rolling in script</title>
      <link>https://community.qlik.com/t5/QlikView/3-Months-Rolling-in-script/m-p/40916#M6917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you are not doing a check of If(Key = Previous(Key)...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/196576_Capture.PNG" style="height: 56px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try reloading the attached file and see if it looks better&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2018 13:23:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/3-Months-Rolling-in-script/m-p/40916#M6917</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-16T13:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: 3 Months Rolling in script</title>
      <link>https://community.qlik.com/t5/QlikView/3-Months-Rolling-in-script/m-p/40917#M6918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny Bhai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i am getting for 201602.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA app Sunny Bhai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2018 13:34:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/3-Months-Rolling-in-script/m-p/40917#M6918</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-03-16T13:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: 3 Months Rolling in script</title>
      <link>https://community.qlik.com/t5/QlikView/3-Months-Rolling-in-script/m-p/40918#M6919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Modality_Report_temp14.qvd&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2018 13:35:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/3-Months-Rolling-in-script/m-p/40918#M6919</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-16T13:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: 3 Months Rolling in script</title>
      <link>https://community.qlik.com/t5/QlikView/3-Months-Rolling-in-script/m-p/40919#M6920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA qvd .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2018 13:49:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/3-Months-Rolling-in-script/m-p/40919#M6920</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-03-16T13:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: 3 Months Rolling in script</title>
      <link>https://community.qlik.com/t5/QlikView/3-Months-Rolling-in-script/m-p/40920#M6921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check with this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;RangeSum(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt; Test,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt; If(Key = Peek(Key, -1), Peek(Test,-1)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt; If(Key = Peek(Key, -2), peek(Test,-2))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt; ) as [3Month],&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2018 13:57:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/3-Months-Rolling-in-script/m-p/40920#M6921</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-16T13:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: 3 Months Rolling in script</title>
      <link>https://community.qlik.com/t5/QlikView/3-Months-Rolling-in-script/m-p/40921#M6922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny Bhai. Can you please tell me why we need to like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean like the below one two times&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If(Key = Peek(Key, -1), Peek(Test,-1)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;Do we need to need like this for 3 months or is there any other method? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2018 14:02:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/3-Months-Rolling-in-script/m-p/40921#M6922</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-03-16T14:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: 3 Months Rolling in script</title>
      <link>https://community.qlik.com/t5/QlikView/3-Months-Rolling-in-script/m-p/40922#M6923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Every &lt;STRONG&gt;Peek(..., &lt;SPAN style="color: #ff0000;"&gt;Number&lt;/SPAN&gt;)&lt;/STRONG&gt;... will need to check &lt;STRONG&gt;Peek(Key, &lt;SPAN style="color: #ff0000;"&gt;Number&lt;/SPAN&gt;)&lt;/STRONG&gt;... this is needed to make sure that when we are adding things from previous rows, it only adds when the Key from that row matches with the key from current row.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2018 14:06:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/3-Months-Rolling-in-script/m-p/40922#M6923</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-16T14:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: 3 Months Rolling in script</title>
      <link>https://community.qlik.com/t5/QlikView/3-Months-Rolling-in-script/m-p/40923#M6924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny Bhai.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just one thing is there any other method to calculate rolling 3 months. because i need to for almost 10 fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2018 14:09:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/3-Months-Rolling-in-script/m-p/40923#M6924</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-03-16T14:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: 3 Months Rolling in script</title>
      <link>https://community.qlik.com/t5/QlikView/3-Months-Rolling-in-script/m-p/40924#M6925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is probably the most efficient way to do it... but you can use multiple joins to do this as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2018 14:11:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/3-Months-Rolling-in-script/m-p/40924#M6925</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-16T14:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: 3 Months Rolling in script</title>
      <link>https://community.qlik.com/t5/QlikView/3-Months-Rolling-in-script/m-p/40925#M6926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny Bhai.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry to ask again one question. Now i am calculating rolling 3 months if i want to calculate last year rolling 3 months..Can you please suggest me how to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry to ask again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2018 14:16:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/3-Months-Rolling-in-script/m-p/40925#M6926</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-03-16T14:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: 3 Months Rolling in script</title>
      <link>https://community.qlik.com/t5/QlikView/3-Months-Rolling-in-script/m-p/40926#M6927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of going back 0, -1, -2.... go back -12, -13, -14 &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2018 14:17:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/3-Months-Rolling-in-script/m-p/40926#M6927</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-16T14:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: 3 Months Rolling in script</title>
      <link>https://community.qlik.com/t5/QlikView/3-Months-Rolling-in-script/m-p/40927#M6928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; Thank you Sunny Bhai.. Thank you so much for your help and time..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2018 14:21:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/3-Months-Rolling-in-script/m-p/40927#M6928</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-03-16T14:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: 3 Months Rolling in script</title>
      <link>https://community.qlik.com/t5/QlikView/3-Months-Rolling-in-script/m-p/40928#M6929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2018 14:22:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/3-Months-Rolling-in-script/m-p/40928#M6929</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-16T14:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: 3 Months Rolling in script</title>
      <link>https://community.qlik.com/t5/QlikView/3-Months-Rolling-in-script/m-p/40929#M6930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, look into &lt;A href="https://community.qlik.com/qlik-blogpost/4531"&gt;The As-Of Table&lt;/A&gt; ... as this may be a good alternative...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2018 14:23:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/3-Months-Rolling-in-script/m-p/40929#M6930</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-16T14:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: 3 Months Rolling in script</title>
      <link>https://community.qlik.com/t5/QlikView/3-Months-Rolling-in-script/m-p/40930#M6931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure Sunny Bhai..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2018 14:26:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/3-Months-Rolling-in-script/m-p/40930#M6931</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-03-16T14:26:55Z</dc:date>
    </item>
  </channel>
</rss>

