<?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 average in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406122#M612634</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Sep 2017 12:16:37 GMT</pubDate>
    <dc:creator>hansdevr</dc:creator>
    <dc:date>2017-09-25T12:16:37Z</dc:date>
    <item>
      <title>Rolling average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406099#M612608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi and good morning everyone! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/177593_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table which shows average project throughput time in days per end of month.&lt;/P&gt;&lt;P&gt;What I would want, is to calculate a "rolling average", but with a twist..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Month 1 should show 38.4, month 2 should show the average of sum of months 1 and 2, and so on.&lt;/P&gt;&lt;P&gt;In the new year, this should be reset and start over again with just the average of month 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What would be the best way of achieving this? Through set analysis? Load script?&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 09:18:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406099#M612608</guid>
      <dc:creator>hansdevr</dc:creator>
      <dc:date>2017-09-25T09:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406100#M612609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does this work for you?&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;RangeAvg(above(TOTAL Avg([Throughput time in days]),0,RowNo(TOTAL)))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 09:23:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406100#M612609</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-25T09:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406101#M612610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Anil! Wil try that! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 09:33:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406101#M612610</guid>
      <dc:creator>hansdevr</dc:creator>
      <dc:date>2017-09-25T09:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406102#M612611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks good, but I missed the "reset" in jan 2017...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 09:41:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406102#M612611</guid>
      <dc:creator>hansdevr</dc:creator>
      <dc:date>2017-09-25T09:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406103#M612612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is that question to me, or just telling to me..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 09:46:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406103#M612612</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-25T09:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406104#M612613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeAvg(above(TOTAL Avg(&lt;SPAN style="font-style: inherit; font-size: 13px; font-family: inherit; color: #000000;"&gt;[Throughput time in days]&lt;/SPAN&gt;),0,RowNo()))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 09:58:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406104#M612613</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2017-09-25T09:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406105#M612614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, it was a well-meant question: how to reset the average @ beginning of the new year.. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 10:10:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406105#M612614</guid>
      <dc:creator>hansdevr</dc:creator>
      <dc:date>2017-09-25T10:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406106#M612615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Frank,&lt;/P&gt;&lt;P&gt;Your answer rendered the averages that already were in the table...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 10:13:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406106#M612615</guid>
      <dc:creator>hansdevr</dc:creator>
      <dc:date>2017-09-25T10:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406107#M612616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Month &amp;lt;&amp;gt; Month(YearStart(Today())), &lt;/STRONG&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;RangeAvg(above(TOTAL Avg([Throughput time in days]),0,RowNo(TOTAL))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;OR&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;RangeAvg(above(TOTAL Avg({&amp;lt;Month -= {'$(=Min(Month))'}&amp;gt;} [Throughput time in days]),0,RowNo(TOTAL)))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 10:25:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406107#M612616</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-25T10:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406108#M612617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As you want to reset the value every time the year changes total shouldn't&amp;nbsp; be use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeAvg(above(Avg(&lt;STRONG style="color: #000000; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;[Throughput time in days]&lt;/STRONG&gt;),0,RowNo()))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 10:29:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406108#M612617</guid>
      <dc:creator>qliksus</dc:creator>
      <dc:date>2017-09-25T10:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406109#M612618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Again, this renders the same numbers as found in the column [Throughput time in days]...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 10:32:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406109#M612618</guid>
      <dc:creator>hansdevr</dc:creator>
      <dc:date>2017-09-25T10:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406110#M612619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You were closer the first time.. Now I get "gaps" in the output...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 10:39:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406110#M612619</guid>
      <dc:creator>hansdevr</dc:creator>
      <dc:date>2017-09-25T10:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406111#M612620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;would you be able to share a sample qvw?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 10:45:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406111#M612620</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2017-09-25T10:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406112#M612621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because, you added second issue over initial thread. Can you tell us expected result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 10:47:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406112#M612621</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-25T10:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406113#M612622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're mistaken. I added nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Month 1 should show 38.4, month 2 should show the average of sum of months 1 and 2, and so on.&lt;/P&gt;&lt;P&gt;In the new year, this should be reset and start over again with just the average of month 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This second clause was already there...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 10:51:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406113#M612622</guid>
      <dc:creator>hansdevr</dc:creator>
      <dc:date>2017-09-25T10:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406114#M612623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is where it works.. Will you attach excel file instead image so then we can look&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 10:53:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406114#M612623</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-25T10:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406115#M612624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using a straight or Pivot table? If you use&amp;nbsp; pivot table the rows should be resetted when there is a new value.&amp;nbsp; Look the&amp;nbsp; below case when the category field changes it just reset to the new value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeAvg( Above(avg({&amp;lt;Y= {$(=Max(Y))}&amp;gt;}amount )-Sum ({&amp;lt;Y= {$(=Max(Y)-1)}&amp;gt;}[Venta Neta]),0,RowNo())) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/177606_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 10:55:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406115#M612624</guid>
      <dc:creator>qliksus</dc:creator>
      <dc:date>2017-09-25T10:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406116#M612625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Average:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=numavg(above([Throughput time in Days],0,(aggr(RowNo(),Year,Month))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Sum:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=numsum(above([Throughput time in Days],0,(aggr(RowNo(),Year,Month))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="177609" alt="275720.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/177609_275720.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Kindly find the attached sample Application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mukram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 10:58:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406116#M612625</guid>
      <dc:creator>mdmukramali</dc:creator>
      <dc:date>2017-09-25T10:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406117#M612626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/177614_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 11:01:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406117#M612626</guid>
      <dc:creator>hansdevr</dc:creator>
      <dc:date>2017-09-25T11:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling average</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406118#M612627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this would be the desired result...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 11:01:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-average/m-p/1406118#M612627</guid>
      <dc:creator>hansdevr</dc:creator>
      <dc:date>2017-09-25T11:01:51Z</dc:date>
    </item>
  </channel>
</rss>

