<?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 SPC Highlights in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SPC-Highlights/m-p/1302471#M834534</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been trying to follow a very useful post from Erica Whalley at&lt;/P&gt;&lt;P&gt;&lt;A href="http://qlikfit.blogspot.co.uk/2013/03/qlikview-lean-tips-1-how-to-highlight.html" title="http://qlikfit.blogspot.co.uk/2013/03/qlikview-lean-tips-1-how-to-highlight.html" target="_blank"&gt;QlikFit: Qlikview Lean tips #1: How to highlight series of points that violate control rules on a chart&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have run into a problem though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this expressions requires an average, which I want to be dynamic.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RowNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()=1 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Key&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;[Average]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),0,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;above&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(R2CUM)+(count(Key)&amp;lt;=(&lt;SPAN style="color: #0000ff;"&gt;Average]&lt;/SPAN&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried using the average expression&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;avg&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Key&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Week&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;but of course this just returns the count(Key) because it is averaging and aggregating it over the one week in the chart.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;the only way around this I can find is to calculate the average manually as below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RowNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()=1 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Key&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;total&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Key&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;NoOfRows&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()),0,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;above&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(R2CUM)+(count(Key)&amp;lt;=(count(total Key)/NoOfRows()))) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;which is fine for highlighting points above/below the mean but I also want to highlight above or below the UCL and LCL.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;so is there a way around this problem please?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;thanks once again for your time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Kind Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Steve&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>steveniow</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>SPC Highlights</title>
      <link>https://community.qlik.com/t5/QlikView/SPC-Highlights/m-p/1302471#M834534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been trying to follow a very useful post from Erica Whalley at&lt;/P&gt;&lt;P&gt;&lt;A href="http://qlikfit.blogspot.co.uk/2013/03/qlikview-lean-tips-1-how-to-highlight.html" title="http://qlikfit.blogspot.co.uk/2013/03/qlikview-lean-tips-1-how-to-highlight.html" target="_blank"&gt;QlikFit: Qlikview Lean tips #1: How to highlight series of points that violate control rules on a chart&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have run into a problem though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this expressions requires an average, which I want to be dynamic.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RowNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()=1 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Key&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;[Average]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),0,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;above&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(R2CUM)+(count(Key)&amp;lt;=(&lt;SPAN style="color: #0000ff;"&gt;Average]&lt;/SPAN&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried using the average expression&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;avg&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Key&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Week&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;but of course this just returns the count(Key) because it is averaging and aggregating it over the one week in the chart.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;the only way around this I can find is to calculate the average manually as below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RowNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()=1 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Key&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;total&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Key&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;NoOfRows&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()),0,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;above&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(R2CUM)+(count(Key)&amp;lt;=(count(total Key)/NoOfRows()))) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;which is fine for highlighting points above/below the mean but I also want to highlight above or below the UCL and LCL.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;so is there a way around this problem please?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;thanks once again for your time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Kind Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Steve&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/SPC-Highlights/m-p/1302471#M834534</guid>
      <dc:creator>steveniow</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: SPC Highlights</title>
      <link>https://community.qlik.com/t5/QlikView/SPC-Highlights/m-p/1302472#M834535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steven,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌ , &lt;A href="https://community.qlik.com/qlik-users/26418"&gt;tresesco&lt;/A&gt;‌ will help you on this ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2017 10:58:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SPC-Highlights/m-p/1302472#M834535</guid>
      <dc:creator>prma7799</dc:creator>
      <dc:date>2017-06-02T10:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: SPC Highlights</title>
      <link>https://community.qlik.com/t5/QlikView/SPC-Highlights/m-p/1302473#M834536</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 where we can see the issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2017 11:04:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SPC-Highlights/m-p/1302473#M834536</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-02T11:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: SPC Highlights</title>
      <link>https://community.qlik.com/t5/QlikView/SPC-Highlights/m-p/1302474#M834537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Sunny, sorry it has taken a while to respond - I have been off.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't see how to share the document?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 14:57:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SPC-Highlights/m-p/1302474#M834537</guid>
      <dc:creator>steveniow</dc:creator>
      <dc:date>2017-06-13T14:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: SPC Highlights</title>
      <link>https://community.qlik.com/t5/QlikView/SPC-Highlights/m-p/1302475#M834538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this out&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-16454"&gt;Uploading a Sample&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 15:00:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SPC-Highlights/m-p/1302475#M834538</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-13T15:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: SPC Highlights</title>
      <link>https://community.qlik.com/t5/QlikView/SPC-Highlights/m-p/1302476#M834539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny - I was trying to reply through the inbox - hence the problem!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formula in question is R2CUM. it works for highlighting points above and below the average but&amp;nbsp; I have had to manually calculate the average as you will see in the expression. The problem is I want to do the same thing for over the UCL or under the LCL - which I can't do from a manual expression -hence I have a problem...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 15:12:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SPC-Highlights/m-p/1302476#M834539</guid>
      <dc:creator>steveniow</dc:creator>
      <dc:date>2017-06-13T15:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: SPC Highlights</title>
      <link>https://community.qlik.com/t5/QlikView/SPC-Highlights/m-p/1302477#M834540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to expand what do you mean by manual expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 15:15:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SPC-Highlights/m-p/1302477#M834540</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-13T15:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: SPC Highlights</title>
      <link>https://community.qlik.com/t5/QlikView/SPC-Highlights/m-p/1302478#M834541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The average is being calculated from&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(total Key)/NoOfRows()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rather than by using an expression from avg()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this means I cannot use stdev() to adapt the expression to highlight above and below UCL or LCL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 15:20:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SPC-Highlights/m-p/1302478#M834541</guid>
      <dc:creator>steveniow</dc:creator>
      <dc:date>2017-06-13T15:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: SPC Highlights</title>
      <link>https://community.qlik.com/t5/QlikView/SPC-Highlights/m-p/1302479#M834542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can calculate average like this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Avg(TOTAL Aggr(Count(Key), Week))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and stdev like this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Stdev(TOTAL Aggr(Count(Key), Week))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 15:23:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SPC-Highlights/m-p/1302479#M834542</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-13T15:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: SPC Highlights</title>
      <link>https://community.qlik.com/t5/QlikView/SPC-Highlights/m-p/1302480#M834543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ahhh... is it the TOTAL that makes a difference? I tried it without the TOTAL and it returned count(Key)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brilliant - really appreciate your help - thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 15:28:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SPC-Highlights/m-p/1302480#M834543</guid>
      <dc:creator>steveniow</dc:creator>
      <dc:date>2017-06-13T15:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: SPC Highlights</title>
      <link>https://community.qlik.com/t5/QlikView/SPC-Highlights/m-p/1302481#M834544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It does.... TOTAL is used to get the Avg regardless of the dimension... same is true for Stdev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 15:30:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SPC-Highlights/m-p/1302481#M834544</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-13T15:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: SPC Highlights</title>
      <link>https://community.qlik.com/t5/QlikView/SPC-Highlights/m-p/1302482#M834545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 15:31:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SPC-Highlights/m-p/1302482#M834545</guid>
      <dc:creator>steveniow</dc:creator>
      <dc:date>2017-06-13T15:31:29Z</dc:date>
    </item>
  </channel>
</rss>

