<?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: incorrect Moving Avg and Upper control in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/incorrect-Moving-Avg-and-Upper-control/m-p/1358295#M822900</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Below is the screen shot from the Cookbook.&lt;/P&gt;&lt;P&gt;as one can see &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Rainfall(mm) expression does very much belong there.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I went through the instruction again and got the correct results refer to &lt;SPAN style="text-decoration: underline;"&gt;control_chart_moving_rng.png&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I believe the issue was due to [Avg] expression being mislabeled as something like 'Moving Avg'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Which caused Upper and Lower Process Limit expressions not be able to refer to it as, for example, Upper ... Limit expressions is as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;[Avg]&lt;/STRONG&gt; + (Avg({&amp;lt;Year={"&amp;gt;=1960&amp;lt;=1980"}&amp;gt;} total Aggr(fabs(Above(Sum({&amp;lt;Year={"&amp;gt;=1960&amp;lt;=1980"}&amp;gt;}[Rain(mm)]))-Sum({&amp;lt;Year={"&amp;gt;=1960&amp;lt;=1980"}&amp;gt;}[Rain(mm)])), Year)) * 2.66)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;As one can see it utilises &lt;EM&gt;[Avg]&lt;/EM&gt; and not something like &lt;EM&gt;[Moving Avg]&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="control_chart_moving_rng.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/172855_control_chart_moving_rng.png" style="height: 260px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Aug 2017 04:22:15 GMT</pubDate>
    <dc:creator>happyjoshua777</dc:creator>
    <dc:date>2017-08-09T04:22:15Z</dc:date>
    <item>
      <title>incorrect Moving Avg and Upper control</title>
      <link>https://community.qlik.com/t5/QlikView/incorrect-Moving-Avg-and-Upper-control/m-p/1358292#M822897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have followed all the steps which in '&lt;SPAN class="fontstyle0"&gt;Creating a Moving Range chart&lt;/SPAN&gt; &lt;SPAN class="fontstyle0"&gt;' of the Cookbook, namely:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="fontstyle0"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;EM&gt;LOAD @1:7 As Year,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;@8:11 As Month,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/66077"&gt;@12&lt;/a&gt;:18 as [MaxTemp(C)],&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;@19:26 As [MinTemp(C)],&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;@27:34 as [AF Days],&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;@35:42 as [Rain(mm)],&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;@43:50 as [Sun Hours]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.metoffice.gov.uk/pub/data/weather/uk/climate/stationdata/heathrowdata.txt" rel="nofollow" target="_blank"&gt;http://www.metoffice.gov.uk/pub/data/weather/uk/climate/stationdata/heathrowdata.txt&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(fix, codepage is 1252, header is 7 lines)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Where @1:7 &amp;lt; 2013;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* Created a new line chart&lt;/P&gt;&lt;P&gt;* The added expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE class="NormalTable"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="200"&gt;&lt;SPAN class="fontstyle0"&gt;Rainfall(mm) &lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="200"&gt;&lt;SPAN class="fontstyle2"&gt;Sum([Rain(mm)])&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE class="NormalTable"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="200"&gt;&lt;SPAN class="fontstyle0"&gt;Moving&lt;BR /&gt;Range&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="200"&gt;&lt;SPAN class="fontstyle1"&gt;fabs(Above(Sum([Rain(mm)]))-Sum([Rain(mm)]))&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="200"&gt;&lt;SPAN class="fontstyle0"&gt;Moving&lt;BR /&gt;Avg&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="200"&gt;&lt;SPAN class="fontstyle1"&gt;Avg({&amp;lt;Year={"&amp;gt;=1961&amp;lt;=1990"}&amp;gt;} total Aggr(fabs(Ab&lt;BR /&gt;ove(Sum({&amp;lt;Year={"&amp;gt;=1961&amp;lt;=1990"}&amp;gt;} [Rain(mm)]))-&lt;BR /&gt;Sum({&amp;lt;Year={"&amp;gt;=1961&amp;lt;=1990"}&amp;gt;} [Rain(mm)])), Year))&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="200"&gt;&lt;SPAN class="fontstyle0"&gt;Upper&lt;BR /&gt;Control&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="200"&gt;&lt;SPAN class="fontstyle1"&gt;[Moving Avg] * 3.267&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; and I got the chart as in &lt;SPAN style="text-decoration: underline;"&gt;moving_avg.png &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;As one can see the Moving Avg and Upper Control are way below the thresholds &lt;/P&gt;&lt;P&gt;However, the results should be as per &lt;SPAN style="text-decoration: underline;"&gt;Moving_Range_correct.png&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;as described on p. 130 of the Cookbook&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can I correct the output I am currently receiving from the Control Chart (see &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;moving_avg.png&lt;/SPAN&gt;)?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/incorrect-Moving-Avg-and-Upper-control/m-p/1358292#M822897</guid>
      <dc:creator>happyjoshua777</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: incorrect Moving Avg and Upper control</title>
      <link>https://community.qlik.com/t5/QlikView/incorrect-Moving-Avg-and-Upper-control/m-p/1358293#M822898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you looking for something like the attached?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2017 07:29:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/incorrect-Moving-Avg-and-Upper-control/m-p/1358293#M822898</guid>
      <dc:creator>techvarun</dc:creator>
      <dc:date>2017-08-07T07:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: incorrect Moving Avg and Upper control</title>
      <link>https://community.qlik.com/t5/QlikView/incorrect-Moving-Avg-and-Upper-control/m-p/1358294#M822899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Take out the Rainfall(mm) expression - it doesn't belong in this chart that's looking at variation rather than value. The &lt;EM&gt;Moving Range&lt;/EM&gt; expression does belong but I can't see it in your image. Check it's there and if so that it hasn't been hasn't been disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2017 13:22:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/incorrect-Moving-Avg-and-Upper-control/m-p/1358294#M822899</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-08-07T13:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: incorrect Moving Avg and Upper control</title>
      <link>https://community.qlik.com/t5/QlikView/incorrect-Moving-Avg-and-Upper-control/m-p/1358295#M822900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Below is the screen shot from the Cookbook.&lt;/P&gt;&lt;P&gt;as one can see &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Rainfall(mm) expression does very much belong there.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I went through the instruction again and got the correct results refer to &lt;SPAN style="text-decoration: underline;"&gt;control_chart_moving_rng.png&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I believe the issue was due to [Avg] expression being mislabeled as something like 'Moving Avg'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Which caused Upper and Lower Process Limit expressions not be able to refer to it as, for example, Upper ... Limit expressions is as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;[Avg]&lt;/STRONG&gt; + (Avg({&amp;lt;Year={"&amp;gt;=1960&amp;lt;=1980"}&amp;gt;} total Aggr(fabs(Above(Sum({&amp;lt;Year={"&amp;gt;=1960&amp;lt;=1980"}&amp;gt;}[Rain(mm)]))-Sum({&amp;lt;Year={"&amp;gt;=1960&amp;lt;=1980"}&amp;gt;}[Rain(mm)])), Year)) * 2.66)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;As one can see it utilises &lt;EM&gt;[Avg]&lt;/EM&gt; and not something like &lt;EM&gt;[Moving Avg]&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="control_chart_moving_rng.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/172855_control_chart_moving_rng.png" style="height: 260px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 04:22:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/incorrect-Moving-Avg-and-Upper-control/m-p/1358295#M822900</guid>
      <dc:creator>happyjoshua777</dc:creator>
      <dc:date>2017-08-09T04:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: incorrect Moving Avg and Upper control</title>
      <link>https://community.qlik.com/t5/QlikView/incorrect-Moving-Avg-and-Upper-control/m-p/1358296#M822901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;was not able to open this &lt;EM&gt;qvw&lt;/EM&gt; file as I have a free version of of &lt;EM&gt;Qv&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;please copy and paste your code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 04:23:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/incorrect-Moving-Avg-and-Upper-control/m-p/1358296#M822901</guid>
      <dc:creator>happyjoshua777</dc:creator>
      <dc:date>2017-08-09T04:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: incorrect Moving Avg and Upper control</title>
      <link>https://community.qlik.com/t5/QlikView/incorrect-Moving-Avg-and-Upper-control/m-p/1358297#M822902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;Script here&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;LOAD @1:7 As Year,&lt;/P&gt;&lt;P&gt;@8:11 As Month,&lt;/P&gt;&lt;P&gt;@12:18 as [MaxTemp(C)],&lt;/P&gt;&lt;P&gt;@19:26 As [MinTemp(C)],&lt;/P&gt;&lt;P&gt;@27:34 as [AF Days],&lt;/P&gt;&lt;P&gt;@35:42 as [Rain(mm)],&lt;/P&gt;&lt;P&gt;@43:50 as [Sun Hours]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.metoffice.gov.uk/pub/data/weather/uk/climate/stationdata/heathrowdata.txt" rel="nofollow" target="_blank"&gt;http://www.metoffice.gov.uk/pub/data/weather/uk/climate/stationdata/heathrowdata.txt&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(fix, codepage is 1252, header is 7 lines)&lt;/P&gt;&lt;P&gt;Where @1:7 &amp;lt; 2013;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Front end&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Year is dimension&lt;/P&gt;&lt;P&gt;Expressions are&lt;/P&gt;&lt;P&gt;1) fabs(Above(Sum([Rain(mm)]))-Sum([Rain(mm)]))&lt;/P&gt;&lt;P&gt;2) Avg({&amp;lt;Year={"&amp;gt;=1961&amp;lt;=1990"}&amp;gt;} total Aggr(fabs(Above(Sum({&amp;lt;Year={"&amp;gt;=1961&amp;lt;=1990"}&amp;gt;} [Rain(mm)]))-&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Year={"&amp;gt;=1961&amp;lt;=1990"}&amp;gt;} [Rain(mm)])), Year))&lt;/P&gt;&lt;P&gt;3) Column(2) * 3.267&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 04:28:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/incorrect-Moving-Avg-and-Upper-control/m-p/1358297#M822902</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-08-09T04:28:11Z</dc:date>
    </item>
  </channel>
</rss>

