<?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: How do you incorporate standard deviation within gauge object segments? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-you-incorporate-standard-deviation-within-gauge-object/m-p/884313#M990207</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming a field named "Value", you can compute the lower bound as:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;median(Value) + stdev(Value) * 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect this is not exactly what you want, because the gauge would aggregate something like sum(Value) and therefore would always exceed the bound. Is this a gauge in a straight table and you want the median &amp;amp; stdev to be per row? If so, then use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;median(aggr(sum(Value),dim1,dim2)) + &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px; font-family: 'courier new', courier;"&gt;stdev(aggr(sum(Value),dim1,dim2)) * 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;where dim1, dim2 are your chart dimensions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jul 2015 22:15:35 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2015-07-15T22:15:35Z</dc:date>
    <item>
      <title>How do you incorporate standard deviation within gauge object segments?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-you-incorporate-standard-deviation-within-gauge-object/m-p/884312#M990206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How would I use Standard deviation with the segments of the gauge object.&lt;/P&gt;&lt;P&gt;I will have 4 segments, low - moderate - elevated and high where elevated is 1 standard deviation above moderate and high is 2 standard deviations over moderate. I have created a few gauge charts with segments, but not sure how to handle standard deviation with it.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 20:25:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-you-incorporate-standard-deviation-within-gauge-object/m-p/884312#M990206</guid>
      <dc:creator />
      <dc:date>2015-07-15T20:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do you incorporate standard deviation within gauge object segments?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-you-incorporate-standard-deviation-within-gauge-object/m-p/884313#M990207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming a field named "Value", you can compute the lower bound as:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;median(Value) + stdev(Value) * 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect this is not exactly what you want, because the gauge would aggregate something like sum(Value) and therefore would always exceed the bound. Is this a gauge in a straight table and you want the median &amp;amp; stdev to be per row? If so, then use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;median(aggr(sum(Value),dim1,dim2)) + &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px; font-family: 'courier new', courier;"&gt;stdev(aggr(sum(Value),dim1,dim2)) * 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;where dim1, dim2 are your chart dimensions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 22:15:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-you-incorporate-standard-deviation-within-gauge-object/m-p/884313#M990207</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-07-15T22:15:35Z</dc:date>
    </item>
  </channel>
</rss>

