<?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: Rolling 5 Quarters in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rolling-5-Quarters/m-p/60768#M788627</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MaxString is not the solution your case, Even thought this can be done i assume you may need &lt;STRONG&gt;AddYears()&lt;/STRONG&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Feb 2018 10:53:29 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2018-02-21T10:53:29Z</dc:date>
    <item>
      <title>Rolling 5 Quarters</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-5-Quarters/m-p/60765#M788624</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 need to take always 5 rolling Quarters in my data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; first variable i created is to get latest quarter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Chr (39) &amp;amp; Maxstring( {&amp;lt;ScenarioLabel={'Actuals'}&amp;gt;} Quarter) &amp;amp; Chr (39)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which gives me 2018-Q1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then i did as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=$(vMaxQuarterRolling) - 10 to get 2017-Q1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i am not getting that value. is it some thing i did some mistake , can some one help me here pls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Hk&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/Rolling-5-Quarters/m-p/60765#M788624</guid>
      <dc:creator>dunnalahk123</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 5 Quarters</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-5-Quarters/m-p/60766#M788625</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;do you have a master calendar on your model ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 09:42:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-5-Quarters/m-p/60766#M788625</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-02-21T09:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 5 Quarters</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-5-Quarters/m-p/60767#M788626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hk,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a column in script with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;keepchar(columnname,'0123456789') as YR_QTR_NUM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now you will have numbers with you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then get last five quarter with with max(&lt;SPAN style="font-size: 13.3333px;"&gt;YR_QTR_NUM,1&lt;/SPAN&gt;) ,&lt;SPAN style="font-size: 13.3333px;"&gt;max(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;YR_QTR_NUM,2&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;) , &lt;SPAN style="font-size: 13.3333px;"&gt;max(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;YR_QTR_NUM,3&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;), &lt;SPAN style="font-size: 13.3333px;"&gt;max(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;YR_QTR_NUM,4&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;), &lt;SPAN style="font-size: 13.3333px;"&gt;max(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;YR_QTR_NUM,5&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 10:16:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-5-Quarters/m-p/60767#M788626</guid>
      <dc:creator>raajaswin</dc:creator>
      <dc:date>2018-02-21T10:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 5 Quarters</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-5-Quarters/m-p/60768#M788627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MaxString is not the solution your case, Even thought this can be done i assume you may need &lt;STRONG&gt;AddYears()&lt;/STRONG&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 10:53:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-5-Quarters/m-p/60768#M788627</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-02-21T10:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 5 Quarters</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-5-Quarters/m-p/60769#M788628</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 Wrote as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=MID($(vMaxQuarterRolling) ,1,4)-1 &amp;amp;'-' &amp;amp; MID($(vMaxQuarterRolling) ,6,2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Hk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 11:12:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-5-Quarters/m-p/60769#M788628</guid>
      <dc:creator>dunnalahk123</dc:creator>
      <dc:date>2018-02-21T11:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 5 Quarters</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-5-Quarters/m-p/60770#M788629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do you really think, Does this job done? Because, For me not make sense. Instead i would suggest you to do script level to bifurcate each and level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, you got work. That is awesome !!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 11:15:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-5-Quarters/m-p/60770#M788629</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-02-21T11:15:46Z</dc:date>
    </item>
  </channel>
</rss>

