<?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: Creating a trailing 52 week chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-a-trailing-52-week-chart/m-p/475778#M549763</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In QV, we can set it to display a scroll bar, but default it to display the last 26 values:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/51170_pastedImage_0.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will accumulate it correctly, while still only showing the last 26 values on default (giving the user the ability to go back further in time if they so wish).&amp;nbsp; See the attached for full example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't want to go this route, I believe you will need to calculate the rolling average in your load script instead of in the chart itself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jan 2014 16:03:54 GMT</pubDate>
    <dc:creator>Nicole-Smith</dc:creator>
    <dc:date>2014-01-07T16:03:54Z</dc:date>
    <item>
      <title>Creating a trailing 52 week chart</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-trailing-52-week-chart/m-p/475777#M549762</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'm trying to create a chart which shows the trailing 52 week total for a variable (in this example Sales).&amp;nbsp; Basically, on the chart below, the value for weekname 2004/01 is the sum of that week's sales plus the previous 51 weeks' sales, for 2013/52 it is the sum of that week and the previous 51 weeks sales.&amp;nbsp; I also want to restrict the view to the last 26 weeknames.&amp;nbsp; The attached spreadsheet gives an example of the data and the graph I'm trying to create.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="t52w chart.PNG.png" class="jive-image" height="187" src="/legacyfs/online/51167_t52w chart.PNG.png" style="width: 314px; height: 186.84px;" width="314" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried using the formula:&amp;nbsp;&amp;nbsp; Rangesum(Above(Total sum(Sales),0,52))&amp;nbsp; which works fine until I apply the dimension limit of using the first 26 values!&amp;nbsp; I've mucked around with various options, but have now hit a brick wall.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All ideas &amp;amp; help greatly appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 15:37:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-trailing-52-week-chart/m-p/475777#M549762</guid>
      <dc:creator />
      <dc:date>2014-01-07T15:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a trailing 52 week chart</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-trailing-52-week-chart/m-p/475778#M549763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In QV, we can set it to display a scroll bar, but default it to display the last 26 values:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/51170_pastedImage_0.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will accumulate it correctly, while still only showing the last 26 values on default (giving the user the ability to go back further in time if they so wish).&amp;nbsp; See the attached for full example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't want to go this route, I believe you will need to calculate the rolling average in your load script instead of in the chart itself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 16:03:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-trailing-52-week-chart/m-p/475778#M549763</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-01-07T16:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a trailing 52 week chart</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-trailing-52-week-chart/m-p/475779#M549764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Nicole.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorted!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 16:30:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-trailing-52-week-chart/m-p/475779#M549764</guid>
      <dc:creator />
      <dc:date>2014-01-07T16:30:56Z</dc:date>
    </item>
  </channel>
</rss>

