<?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: Total Average not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Total-Average-not-working/m-p/1758631#M720201</link>
    <description>&lt;P&gt;Best I have to try to help is the following Design Blog post:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Average-Which-average/ba-p/1466654" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Average-Which-average/ba-p/1466654&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
    <pubDate>Wed, 04 Nov 2020 20:30:43 GMT</pubDate>
    <dc:creator>Brett_Bleess</dc:creator>
    <dc:date>2020-11-04T20:30:43Z</dc:date>
    <item>
      <title>Total Average not working</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Average-not-working/m-p/1755445#M720188</link>
      <description>&lt;P&gt;I'm trying to show a changing average line on my chart but i can't seem to work out how to write the expressions.&lt;/P&gt;&lt;P&gt;The red line shows the overall average over the whole time (it uses this expression - avg(TOTAL AGGR(Sum({&amp;lt;Sheet_name={'Wansbeck'},day={'Monday'}&amp;gt;}WGH1),Date)) Despite the dimension being WeekYear &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1 .jpeg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42916iEB62F8D4AA0EF348/image-size/large?v=v2&amp;amp;px=999" role="button" title="1 .jpeg" alt="1 .jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 3 conditions (PreCovid, Covid &amp;amp; HomeSafe Weekend) that i want to display the averages for.&lt;/P&gt;&lt;P&gt;They run like this:&lt;/P&gt;&lt;P&gt;Week23 2019 - Week 11 2020 = PreCovid&lt;/P&gt;&lt;P&gt;Week 12 2020 - Week 18 2020 = Covid&amp;nbsp;&lt;/P&gt;&lt;P&gt;Week 19 2020 - Week 31 2020 = HomeSafe Weekend&lt;/P&gt;&lt;P&gt;When i try the expression =&amp;nbsp;avg(Total Aggr(Avg({&amp;lt;Sheet_name={'Wansbeck'},day={'Monday'},[Named Change]={'PreCovid'}&amp;gt;}WGH1),MonthYear)) I just get this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2 .jpeg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42920i22BE3025BCC42B76/image-size/large?v=v2&amp;amp;px=999" role="button" title="2 .jpeg" alt="2 .jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Which just overwrites the overall average.&lt;/P&gt;&lt;P&gt;If i try:&amp;nbsp;avg(Aggr(Avg({&amp;lt;Sheet_name={'Wansbeck'},day={'Monday'},[Named Change]={'PreCovid'}&amp;gt;}WGH1),MonthYear)) Then as you can the average line ends but it ends early (Week 9 instead of Week 11) but also its not a true average as that should be solid at 2.51&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3 .jpeg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42921i02B13F0A5C93D27D/image-size/large?v=v2&amp;amp;px=999" role="button" title="3 .jpeg" alt="3 .jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What am i doing wrong and ideally how could i show one line changing between the three states?&lt;/P&gt;&lt;P&gt;Here is a shot of the data in a straight table:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4.jpg" style="width: 867px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42922i52CB13AE79F030CF/image-size/large?v=v2&amp;amp;px=999" role="button" title="4.jpg" alt="4.jpg" /&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>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Average-not-working/m-p/1755445#M720188</guid>
      <dc:creator>peterderrington</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Total Average not working</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Average-not-working/m-p/1755464#M720189</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28289"&gt;@peterderrington&lt;/a&gt;&amp;nbsp; Is it because you are using&amp;nbsp; MonthYear instead of WeekYear in aggr?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;avg(&lt;STRONG&gt;total&lt;/STRONG&gt; sum({&amp;lt;Sheet_name={'Wansbeck'},day={'Monday'},[Named Change]={'PreCovid'}&amp;gt;}WGH1),&lt;STRONG&gt;WeekYear&lt;/STRONG&gt;))&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 14:05:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Average-not-working/m-p/1755464#M720189</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-10-23T14:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: Total Average not working</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Average-not-working/m-p/1755472#M720190</link>
      <description>&lt;P&gt;No, i tried your expression and it just said that the expression was wrong apparently after WGH1) its garbage&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I did however adapt the original one to WeekYear not Month Year -&amp;nbsp;&amp;nbsp;avg(Aggr(Avg({&amp;lt;Sheet_name={'Wansbeck'},day={'Monday'},[Named Change]={'PreCovid'}&amp;gt;}WGH1),WeekYear))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and now it continues to the end of the section which is great but it doesn't show a straight line (if i add Total then it just goes to the very end which is still wrong)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5.jpeg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42932iD7C087C3AA7562B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="5.jpeg" alt="5.jpeg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We're getting close....&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 14:15:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Average-not-working/m-p/1755472#M720190</guid>
      <dc:creator>peterderrington</dc:creator>
      <dc:date>2020-10-23T14:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Total Average not working</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Average-not-working/m-p/1755500#M720191</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28289"&gt;@peterderrington&lt;/a&gt;&amp;nbsp; missed aggr..typo&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;avg(&lt;/SPAN&gt;&lt;STRONG&gt;total&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp; aggr(sum({&amp;lt;Sheet_name={'Wansbeck'},day={'Monday'},[Named Change]={'PreCovid'}&amp;gt;}WGH1),&lt;/SPAN&gt;&lt;STRONG&gt;WeekYear&lt;/STRONG&gt;&lt;SPAN&gt;))&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 14:51:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Average-not-working/m-p/1755500#M720191</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-10-23T14:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: Total Average not working</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Average-not-working/m-p/1755504#M720192</link>
      <description>&lt;P&gt;Nope, that doesnt work - it looks like this now:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="6.jpeg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42937iC60C1018D2688A1F/image-size/large?v=v2&amp;amp;px=999" role="button" title="6.jpeg" alt="6.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 14:54:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Average-not-working/m-p/1755504#M720192</guid>
      <dc:creator>peterderrington</dc:creator>
      <dc:date>2020-10-23T14:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Total Average not working</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Average-not-working/m-p/1755507#M720193</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28289"&gt;@peterderrington&lt;/a&gt;&amp;nbsp; is the straight line generated showing correct values?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 15:01:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Average-not-working/m-p/1755507#M720193</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-10-23T15:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Total Average not working</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Average-not-working/m-p/1755513#M720194</link>
      <description>&lt;P&gt;can you try this?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;avg(&lt;/SPAN&gt;&lt;STRONG&gt;total&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp; aggr(sum({&amp;lt;Sheet_name={'Wansbeck'},day={'Monday'},[Named Change]={'PreCovid'}&amp;gt;}WGH1/sum({&amp;lt;Sheet_name={'Wansbeck'},day={'Monday'},[Named Change]={'PreCovid'}&amp;gt;}WGH1),&lt;/SPAN&gt;&lt;STRONG&gt;WeekYear&lt;/STRONG&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 15:09:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Average-not-working/m-p/1755513#M720194</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2020-10-23T15:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: Total Average not working</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Average-not-working/m-p/1755525#M720195</link>
      <description>&lt;P&gt;No that shows as an error in expression with the first ( highlighted in Red&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 15:39:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Average-not-working/m-p/1755525#M720195</guid>
      <dc:creator>peterderrington</dc:creator>
      <dc:date>2020-10-23T15:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Total Average not working</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Average-not-working/m-p/1755526#M720196</link>
      <description>&lt;P&gt;Yes it showing an overall average of 2.35 which is correct for the entire time line&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 15:40:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Average-not-working/m-p/1755526#M720196</guid>
      <dc:creator>peterderrington</dc:creator>
      <dc:date>2020-10-23T15:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: Total Average not working</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Average-not-working/m-p/1755527#M720197</link>
      <description>&lt;P&gt;only close is missing .. can you try this&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;avg(&lt;/SPAN&gt;&lt;STRONG&gt;total&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp; aggr(sum({&amp;lt;Sheet_name={'Wansbeck'},day={'Monday'},[Named Change]={'PreCovid'}&amp;gt;}WGH1/sum({&amp;lt;Sheet_name={'Wansbeck'},day={'Monday'},[Named Change]={'PreCovid'}&amp;gt;}WGH1),&lt;/SPAN&gt;&lt;STRONG&gt;WeekYear&lt;/STRONG&gt;&lt;SPAN&gt;)))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 15:49:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Average-not-working/m-p/1755527#M720197</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2020-10-23T15:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Total Average not working</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Average-not-working/m-p/1755530#M720198</link>
      <description>&lt;P&gt;Already tried - still an error&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="7.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42940i735C77F61481126E/image-size/large?v=v2&amp;amp;px=999" role="button" title="7.jpg" alt="7.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 15:54:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Average-not-working/m-p/1755530#M720198</guid>
      <dc:creator>peterderrington</dc:creator>
      <dc:date>2020-10-23T15:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: Total Average not working</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Average-not-working/m-p/1755537#M720199</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28289"&gt;@peterderrington&lt;/a&gt;&amp;nbsp;Then what is wrong?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 16:26:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Average-not-working/m-p/1755537#M720199</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-10-23T16:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Total Average not working</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Average-not-working/m-p/1755548#M720200</link>
      <description>&lt;P&gt;Well as i said earlier&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp;, i want to show an overall average (the red line) and also an average line that shows the average for a set period, PreCovid, Covid and HomeSafe on the same graph. So those other three lines should be flat not wavy,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Similar to this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="8.jpeg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42946i66687FBC814CFE7D/image-size/large?v=v2&amp;amp;px=999" role="button" title="8.jpeg" alt="8.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you can see, the green line has three separate values to it dependant on which time segment they're referring to.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 16:49:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Average-not-working/m-p/1755548#M720200</guid>
      <dc:creator>peterderrington</dc:creator>
      <dc:date>2020-10-23T16:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Total Average not working</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Average-not-working/m-p/1758631#M720201</link>
      <description>&lt;P&gt;Best I have to try to help is the following Design Blog post:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Average-Which-average/ba-p/1466654" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Average-Which-average/ba-p/1466654&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2020 20:30:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Average-not-working/m-p/1758631#M720201</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-11-04T20:30:43Z</dc:date>
    </item>
  </channel>
</rss>

