<?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 Chart - on median value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SPC-Chart-on-median-value/m-p/386748#M1167968</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Hello &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I am trying to build an SPC chart on the median value by week&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;But I do not know the best approach on how to build my chart&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;1) As I need to find my median shall I write this in the edit script as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; color: #000000;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;This creates an error in the expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would I write the UPPER CONTROL LIMIT based on the fact that a median needs to be calculated by week?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Oct 2012 13:19:14 GMT</pubDate>
    <dc:creator>helen_pip</dc:creator>
    <dc:date>2012-10-05T13:19:14Z</dc:date>
    <item>
      <title>SPC Chart - on median value</title>
      <link>https://community.qlik.com/t5/QlikView/SPC-Chart-on-median-value/m-p/386748#M1167968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Hello &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I am trying to build an SPC chart on the median value by week&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;But I do not know the best approach on how to build my chart&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;1) As I need to find my median shall I write this in the edit script as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; color: #000000;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;This creates an error in the expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would I write the UPPER CONTROL LIMIT based on the fact that a median needs to be calculated by week?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2012 13:19:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SPC-Chart-on-median-value/m-p/386748#M1167968</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2012-10-05T13:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: SPC Chart - on median value</title>
      <link>https://community.qlik.com/t5/QlikView/SPC-Chart-on-median-value/m-p/386749#M1167969</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;To calculate your average value by week dimension (for upper control limit) you could use aggr() function:&lt;/P&gt;&lt;P&gt;Avg(&lt;STRONG&gt;aggr(&lt;/STRONG&gt;IF([Patient Admitted?] = 1, [Total Wait])/1440)&lt;STRONG&gt;, [WeekDimension])&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It calculates your if() expression for each [WeekDimension] value, then avg() aggregates these values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For stdev() use the same approach.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Oct 2012 09:04:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SPC-Chart-on-median-value/m-p/386749#M1167969</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-10-06T09:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: SPC Chart - on median value</title>
      <link>https://community.qlik.com/t5/QlikView/SPC-Chart-on-median-value/m-p/386750#M1167970</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;Thank you for your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Much appreciated.&amp;nbsp; This works a treat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2012 07:20:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SPC-Chart-on-median-value/m-p/386750#M1167970</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2012-10-08T07:20:53Z</dc:date>
    </item>
  </channel>
</rss>

