<?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 4 week average in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rolling-4-week-average/m-p/1629762#M446382</link>
    <description>&lt;P&gt;Have a look at the following Design Blog post as well, believe it may be of some help:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/The-As-Of-Table/ba-p/1466130" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/The-As-Of-Table/ba-p/1466130&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
    <pubDate>Mon, 30 Sep 2019 20:30:52 GMT</pubDate>
    <dc:creator>Brett_Bleess</dc:creator>
    <dc:date>2019-09-30T20:30:52Z</dc:date>
    <item>
      <title>Rolling 4 week average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-4-week-average/m-p/1625746#M446110</link>
      <description>&lt;P&gt;Hi everyone&lt;/P&gt;&lt;P&gt;I am working on the calculation to get rolling average of 4 weeks ( starting fiscal week 1).&lt;/P&gt;&lt;P&gt;In my data set, it contains calendar week and fiscal week.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My calculation is simple:&amp;nbsp;RangeAvg(above(sum([Value USD]),0, 4))&lt;/P&gt;&lt;P&gt;The problem here is that I want to plot the line chart with fiscal week as X axis, but the average of first 4 weeks based on 4 previous weeks. (see the attached sample qvw)&lt;/P&gt;&lt;P&gt;Is there any way to get include these 4 previous weeks to the calculation without showing the week (in this case fiscal week-1, fiscalweek-2, fiscalweek-3 in the line chart?&amp;nbsp;&lt;/P&gt;&lt;P&gt;To be exact on the chart the value of starting point is 883 359 (USD), but I want to get 600 171 (USD).&lt;/P&gt;&lt;P&gt;Thanks for your help in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:03:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-4-week-average/m-p/1625746#M446110</guid>
      <dc:creator>nnleiker</dc:creator>
      <dc:date>2024-11-16T20:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 4 week average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-4-week-average/m-p/1625970#M446122</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think there is a solution in here&amp;nbsp;&lt;A href="https://community.qlik.com/t5/QlikView-Documents/Calculating-rolling-n-period-totals-averages-or-other/ta-p/1483033" target="_self"&gt;Calculating-rolling-n-period-totals-averages-or-other&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So something like;&lt;/P&gt;&lt;P&gt;avg({&amp;lt;[Fiscal Week]={"&amp;gt;3"}&amp;gt;}aggr(rangeavg(above(total avg({&amp;lt;[Fiscal Week]=&amp;gt;}[Value USD]),0,4)),[Fiscal Week]))&lt;/P&gt;&lt;P&gt;&lt;IMG border="0" width="652" height="178" /&gt;I would attach images, but seems I can't add them to this post &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2019 19:53:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-4-week-average/m-p/1625970#M446122</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2019-09-19T19:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 4 week average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-4-week-average/m-p/1629762#M446382</link>
      <description>&lt;P&gt;Have a look at the following Design Blog post as well, believe it may be of some help:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/The-As-Of-Table/ba-p/1466130" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/The-As-Of-Table/ba-p/1466130&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2019 20:30:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-4-week-average/m-p/1629762#M446382</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-09-30T20:30:52Z</dc:date>
    </item>
  </channel>
</rss>

