<?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 6 weeking avg in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Rolling-6-weeking-avg/m-p/1734170#M56074</link>
    <description>&lt;P&gt;I Am try to show trend in combo chart. trend line is last 6 weeks avg. for example today Friday I want to show last 6 Fridays avg, for Thursday last 6 Thursdays like that. last 6 weeks same day avg.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avg.PNG" style="width: 913px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/38708iE498E7E33B192975/image-size/large?v=v2&amp;amp;px=999" role="button" title="avg.PNG" alt="avg.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Aug 2020 16:02:45 GMT</pubDate>
    <dc:creator>Abhi999</dc:creator>
    <dc:date>2020-08-07T16:02:45Z</dc:date>
    <item>
      <title>Rolling 6 weeking avg</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-6-weeking-avg/m-p/1734170#M56074</link>
      <description>&lt;P&gt;I Am try to show trend in combo chart. trend line is last 6 weeks avg. for example today Friday I want to show last 6 Fridays avg, for Thursday last 6 Thursdays like that. last 6 weeks same day avg.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avg.PNG" style="width: 913px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/38708iE498E7E33B192975/image-size/large?v=v2&amp;amp;px=999" role="button" title="avg.PNG" alt="avg.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2020 16:02:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-6-weeking-avg/m-p/1734170#M56074</guid>
      <dc:creator>Abhi999</dc:creator>
      <dc:date>2020-08-07T16:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 6 weeking avg</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-6-weeking-avg/m-p/1734305#M56090</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;There may be a more elegant solution but you could use above function. There is some more detail &lt;A href="https://community.qlik.com/t5/Qlik-Sense-App-Development/above-function-and-date-selection/td-p/1608427" target="_self"&gt;here&lt;/A&gt; on getting above to work with date selection which explains the Avg(1) (thanks &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;). So something like;&lt;/P&gt;&lt;P&gt;(above(Sum({&amp;lt;[Date]&amp;gt;}Value),7)+above(Sum({&amp;lt;[Date]&amp;gt;}Value),14)+above(Sum({&amp;lt;[Date]&amp;gt;}Value),21)+above(Sum({&amp;lt;[Date]&amp;gt;}Value),28)+above(Sum({&amp;lt;[Date]&amp;gt;}Value),35)+above(Sum({&amp;lt;[Date]&amp;gt;}Value),42))*Avg(1)/6&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Aug 2020 13:51:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-6-weeking-avg/m-p/1734305#M56090</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2020-08-08T13:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 6 weeking avg</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-6-weeking-avg/m-p/1734338#M56096</link>
      <description>&lt;P&gt;What if for particular day there is no transaction&lt;/P&gt;</description>
      <pubDate>Sun, 09 Aug 2020 12:22:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-6-weeking-avg/m-p/1734338#M56096</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-08-09T12:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 6 weeking avg</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-6-weeking-avg/m-p/1734346#M56098</link>
      <description>&lt;P&gt;Agreed it is a fragile solution that depends heavily on data model, presence of data &amp;amp; sorting&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":frowning_face:"&gt;☹️&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Aug 2020 15:19:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-6-weeking-avg/m-p/1734346#M56098</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2020-08-09T15:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 6 weeking avg</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-6-weeking-avg/m-p/1734358#M56099</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28968"&gt;@chrismarlow&lt;/a&gt;&amp;nbsp; Your solution will work fine if there is no data gaps. That is why I asked question to&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/105105"&gt;@Abhi999&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Aug 2020 19:00:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-6-weeking-avg/m-p/1734358#M56099</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-08-09T19:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 6 weeking avg</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-6-weeking-avg/m-p/1734507#M56107</link>
      <description>&lt;P&gt;not getting expected output&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 13:24:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-6-weeking-avg/m-p/1734507#M56107</guid>
      <dc:creator>Abhi999</dc:creator>
      <dc:date>2020-08-10T13:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 6 weeking avg</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-6-weeking-avg/m-p/1734508#M56108</link>
      <description>&lt;P&gt;Can you answer my question in previous reply? Also share some sample data with expected output?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 13:26:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-6-weeking-avg/m-p/1734508#M56108</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-08-10T13:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 6 weeking avg</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-6-weeking-avg/m-p/1734511#M56109</link>
      <description>&lt;P&gt;there is no gaps in data&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 13:28:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-6-weeking-avg/m-p/1734511#M56109</guid>
      <dc:creator>Abhi999</dc:creator>
      <dc:date>2020-08-10T13:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 6 weeking avg</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-6-weeking-avg/m-p/1734512#M56110</link>
      <description>&lt;P&gt;I have a simple bar chart that displays the sum of sales by day. I would like to add, in the same chart, a line for the average value for each day of the week (average sales for Mondays, Tuesdays, ...). I am able to get the average values in a separate listbox (or chart) having the dayOfWeek as dimension, but can't find a way to add them to the daily sales chart for last 6 weeks&lt;/P&gt;&lt;P&gt;Is there a way to do that?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 13:32:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-6-weeking-avg/m-p/1734512#M56110</guid>
      <dc:creator>Abhi999</dc:creator>
      <dc:date>2020-08-10T13:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 6 weeking avg</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-6-weeking-avg/m-p/1734519#M56111</link>
      <description>&lt;P&gt;Taking day of the week as dimension won't give you correct avg as one day could be there in more than 6 weeks. For quicker and correct reply you can share sample data with expected output&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 13:46:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-6-weeking-avg/m-p/1734519#M56111</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-08-10T13:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 6 weeking avg</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-6-weeking-avg/m-p/1734691#M56117</link>
      <description>&lt;P&gt;I hope I explained clearly in initial question, manually I preparing data is tough. I will try to explain my expected output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In combo chart bars are actuals every day sum, trend line I want show last 6 weeks same day (if today is Tuesday last 6 Tuesdays avg , Mondays like that ) avg. in initial question I have posted sample combo chart&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 05:45:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-6-weeking-avg/m-p/1734691#M56117</guid>
      <dc:creator>Abhi999</dc:creator>
      <dc:date>2020-08-11T05:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 6 weeking avg</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-6-weeking-avg/m-p/1734705#M56118</link>
      <description>&lt;P&gt;Many thanks it works fine.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 07:32:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-6-weeking-avg/m-p/1734705#M56118</guid>
      <dc:creator>Abhi999</dc:creator>
      <dc:date>2020-08-11T07:32:32Z</dc:date>
    </item>
  </channel>
</rss>

