<?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 Rolling 13 Period in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rolling-13-Period/m-p/221668#M504945</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to create a line chart to show a current 13 Rolling Period and a Previous 13 Polling Period. I am able to do this when selecting a year, so I can show year over year with the following expressions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;C13 - &lt;B&gt;SUM&lt;/B&gt;({&amp;lt;&lt;B&gt;fiscal_yr&lt;/B&gt; = {&lt;B&gt;&lt;I&gt;$(vCY)&lt;/I&gt;&lt;/B&gt;}&amp;gt;} &lt;B&gt;PNS_DAY&lt;/B&gt;)&lt;BR /&gt;PR13 - &lt;B&gt;SUM&lt;/B&gt;({&amp;lt;&lt;B&gt;fiscal_yr&lt;/B&gt; = {&lt;B&gt;&lt;I&gt;$(vPY)&lt;/I&gt;&lt;/B&gt;}&amp;gt;} &lt;B&gt;PNS_DAY&lt;/B&gt;)&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;The issue is that when I select a period it filters to just chart the selected period. I can determine the beginning and end periods need for each rolling 13 lines, but I do not know the syntax to pass that into a SET Analysis forumla. Is there a way to express a range in the Set Analysis? I tried the example from help and have not luck with it.&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated. I am attaching an excel spreadsheet that has sample data that represents the data I am using.&lt;/P&gt;&lt;P&gt;[View:http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/1641.Rolling13.xls:550:0]&lt;/P&gt;&lt;P&gt;Thank you for your time and help,&lt;/P&gt;&lt;P&gt;Tyson&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Oct 2009 04:00:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-10-22T04:00:30Z</dc:date>
    <item>
      <title>Rolling 13 Period</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-13-Period/m-p/221668#M504945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to create a line chart to show a current 13 Rolling Period and a Previous 13 Polling Period. I am able to do this when selecting a year, so I can show year over year with the following expressions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;C13 - &lt;B&gt;SUM&lt;/B&gt;({&amp;lt;&lt;B&gt;fiscal_yr&lt;/B&gt; = {&lt;B&gt;&lt;I&gt;$(vCY)&lt;/I&gt;&lt;/B&gt;}&amp;gt;} &lt;B&gt;PNS_DAY&lt;/B&gt;)&lt;BR /&gt;PR13 - &lt;B&gt;SUM&lt;/B&gt;({&amp;lt;&lt;B&gt;fiscal_yr&lt;/B&gt; = {&lt;B&gt;&lt;I&gt;$(vPY)&lt;/I&gt;&lt;/B&gt;}&amp;gt;} &lt;B&gt;PNS_DAY&lt;/B&gt;)&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;The issue is that when I select a period it filters to just chart the selected period. I can determine the beginning and end periods need for each rolling 13 lines, but I do not know the syntax to pass that into a SET Analysis forumla. Is there a way to express a range in the Set Analysis? I tried the example from help and have not luck with it.&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated. I am attaching an excel spreadsheet that has sample data that represents the data I am using.&lt;/P&gt;&lt;P&gt;[View:http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/1641.Rolling13.xls:550:0]&lt;/P&gt;&lt;P&gt;Thank you for your time and help,&lt;/P&gt;&lt;P&gt;Tyson&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2009 04:00:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-13-Period/m-p/221668#M504945</guid>
      <dc:creator />
      <dc:date>2009-10-22T04:00:30Z</dc:date>
    </item>
    <item>
      <title>Rolling 13 Period</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-13-Period/m-p/221669#M504946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tyson,&lt;/P&gt;&lt;P&gt;please see the attached example.&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2009 14:58:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-13-Period/m-p/221669#M504946</guid>
      <dc:creator />
      <dc:date>2009-10-22T14:58:52Z</dc:date>
    </item>
  </channel>
</rss>

