<?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 Just another rolling average challenge in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Just-another-rolling-average-challenge/m-p/2416766#M95209</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I'm stuck in an attempt to create a deviation from rolling average line chart (and a table as a byproduct).&lt;/P&gt;
&lt;P&gt;The intended result would be:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SuwerenPL_0-1707416392753.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/159402i534AA845107D8800/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SuwerenPL_0-1707416392753.png" alt="SuwerenPL_0-1707416392753.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The chart must be responsive to selections&amp;nbsp; - max selected month excludes later data, other fields work normally.&lt;/P&gt;
&lt;P&gt;So far I have tried the following:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SuwerenPL_1-1707416651857.png" style="width: 802px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/159404iE914298361E87599/image-dimensions/802x361?v=v2" width="802" height="361" role="button" title="SuwerenPL_1-1707416651857.png" alt="SuwerenPL_1-1707416651857.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;=Sum(Aggr(RangeAvg(Above(Sum( {$&amp;lt;[Rok-Miesiąc]&amp;gt;} [Wprowadzone]), 0, 3)), [Rok-Miesiąc]))&lt;/P&gt;
&lt;P&gt;=RangeAvg(Above(Sum({&amp;lt;[Rok-Miesiąc]= &amp;gt;}[Wprowadzone]), 0, 3))&lt;/P&gt;
&lt;P&gt;=Sum({&amp;lt;[Rok-Miesiąc]=, [Data] = {"&amp;gt;=$(=AddMonths(Max(Data),-3))&amp;lt;=$(=Max(Data))"}&amp;gt;} Wprowadzone)&lt;/P&gt;
&lt;P&gt;[Wprowadzone] is just a counter field that after sum() corresponds to values in B column in the Excel example.&lt;/P&gt;
&lt;P&gt;Nothing works as intended, averages are all over the place or just plain incorrect from my perspective. Any clue what I'm doing wrong would be much appreciated.&lt;/P&gt;</description>
    <pubDate>Thu, 08 Feb 2024 18:36:50 GMT</pubDate>
    <dc:creator>SuwerenPL</dc:creator>
    <dc:date>2024-02-08T18:36:50Z</dc:date>
    <item>
      <title>Just another rolling average challenge</title>
      <link>https://community.qlik.com/t5/App-Development/Just-another-rolling-average-challenge/m-p/2416766#M95209</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I'm stuck in an attempt to create a deviation from rolling average line chart (and a table as a byproduct).&lt;/P&gt;
&lt;P&gt;The intended result would be:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SuwerenPL_0-1707416392753.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/159402i534AA845107D8800/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SuwerenPL_0-1707416392753.png" alt="SuwerenPL_0-1707416392753.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The chart must be responsive to selections&amp;nbsp; - max selected month excludes later data, other fields work normally.&lt;/P&gt;
&lt;P&gt;So far I have tried the following:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SuwerenPL_1-1707416651857.png" style="width: 802px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/159404iE914298361E87599/image-dimensions/802x361?v=v2" width="802" height="361" role="button" title="SuwerenPL_1-1707416651857.png" alt="SuwerenPL_1-1707416651857.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;=Sum(Aggr(RangeAvg(Above(Sum( {$&amp;lt;[Rok-Miesiąc]&amp;gt;} [Wprowadzone]), 0, 3)), [Rok-Miesiąc]))&lt;/P&gt;
&lt;P&gt;=RangeAvg(Above(Sum({&amp;lt;[Rok-Miesiąc]= &amp;gt;}[Wprowadzone]), 0, 3))&lt;/P&gt;
&lt;P&gt;=Sum({&amp;lt;[Rok-Miesiąc]=, [Data] = {"&amp;gt;=$(=AddMonths(Max(Data),-3))&amp;lt;=$(=Max(Data))"}&amp;gt;} Wprowadzone)&lt;/P&gt;
&lt;P&gt;[Wprowadzone] is just a counter field that after sum() corresponds to values in B column in the Excel example.&lt;/P&gt;
&lt;P&gt;Nothing works as intended, averages are all over the place or just plain incorrect from my perspective. Any clue what I'm doing wrong would be much appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 18:36:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Just-another-rolling-average-challenge/m-p/2416766#M95209</guid>
      <dc:creator>SuwerenPL</dc:creator>
      <dc:date>2024-02-08T18:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Just another rolling average challenge</title>
      <link>https://community.qlik.com/t5/App-Development/Just-another-rolling-average-challenge/m-p/2416823#M95212</link>
      <description>&lt;P&gt;I think you're making it too hard, try this:&lt;/P&gt;
&lt;P&gt;RangeAvg(Below([Created in given month], 1, 3))&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 23:12:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Just-another-rolling-average-challenge/m-p/2416823#M95212</guid>
      <dc:creator>Lisa_P</dc:creator>
      <dc:date>2024-02-08T23:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: Just another rolling average challenge</title>
      <link>https://community.qlik.com/t5/App-Development/Just-another-rolling-average-challenge/m-p/2416901#M95219</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5905"&gt;@Lisa_P&lt;/a&gt;&amp;nbsp;That's what I was looking for &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2024 05:58:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Just-another-rolling-average-challenge/m-p/2416901#M95219</guid>
      <dc:creator>SuwerenPL</dc:creator>
      <dc:date>2024-02-09T05:58:38Z</dc:date>
    </item>
  </channel>
</rss>

