<?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 Problem with calculation for SPC in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-calculation-for-SPC/m-p/347316#M577882</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 to replace a SPC-analysis with Qlikview, which at the moment is implemented with Excel. But I can't get Qlikview to calculate upper and lower bounds as I want it, to show these bounds in a chart. For simplification I made an example with a "Straight"-Table, but I need it in a chart.&lt;/P&gt;&lt;P&gt;1. Values are sorted in a defined manner.&lt;/P&gt;&lt;P&gt;2. I have to calculate the difference between the actual row and the following row =&amp;gt; no problem&lt;/P&gt;&lt;P&gt;3. I need the average value of the column I've created under point 2 in further column =&amp;gt; there is my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in my attached example I need the calculated average from "Spannweite" in a column "Avg Spannweite", so I can make further calculations to get my upper and lower bounds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qlikview Version: 11 with Update. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you understand my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Peter Hübschen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Mar 2012 08:58:39 GMT</pubDate>
    <dc:creator>saarschmiede</dc:creator>
    <dc:date>2012-03-12T08:58:39Z</dc:date>
    <item>
      <title>Problem with calculation for SPC</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-calculation-for-SPC/m-p/347316#M577882</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 to replace a SPC-analysis with Qlikview, which at the moment is implemented with Excel. But I can't get Qlikview to calculate upper and lower bounds as I want it, to show these bounds in a chart. For simplification I made an example with a "Straight"-Table, but I need it in a chart.&lt;/P&gt;&lt;P&gt;1. Values are sorted in a defined manner.&lt;/P&gt;&lt;P&gt;2. I have to calculate the difference between the actual row and the following row =&amp;gt; no problem&lt;/P&gt;&lt;P&gt;3. I need the average value of the column I've created under point 2 in further column =&amp;gt; there is my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in my attached example I need the calculated average from "Spannweite" in a column "Avg Spannweite", so I can make further calculations to get my upper and lower bounds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qlikview Version: 11 with Update. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you understand my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Peter Hübschen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2012 08:58:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-calculation-for-SPC/m-p/347316#M577882</guid>
      <dc:creator>saarschmiede</dc:creator>
      <dc:date>2012-03-12T08:58:39Z</dc:date>
    </item>
    <item>
      <title>Problem with calculation for SPC</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-calculation-for-SPC/m-p/347317#M577883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Have you tried with Aggr function?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Avg(Total Aggr(Expression,Unique field name))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you post the image of the straight table because im using personal edition i cann't open your fiel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2012 09:03:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-calculation-for-SPC/m-p/347317#M577883</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-03-12T09:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with calculation for SPC</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-calculation-for-SPC/m-p/347318#M577884</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;my formulas look like this, so I use already the aggr-function.&lt;/P&gt;&lt;P&gt;"Spannweite": fabs(Value - below(Total Value, 1))&lt;/P&gt;&lt;P&gt;"Avg. Spannweite": avg(total aggr(fabs(Value - below(Value, 1)), PANo, lfdNo))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I've attached a screenshot of my "Straight"-Table example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Peter Hübschen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2012 09:41:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-calculation-for-SPC/m-p/347318#M577884</guid>
      <dc:creator>saarschmiede</dc:creator>
      <dc:date>2012-03-12T09:41:20Z</dc:date>
    </item>
  </channel>
</rss>

