<?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 Standard Deviation Aggregate in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Standard-Deviation-Aggregate/m-p/908895#M469166</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 am taking the standard deviation of the sum of sales for the hierarchy an item belongs to for each week for a particular store. I am selecting one item and a date range. The standard deviation is based on the sum of sales for the hierarchy (SubClass) for each week outside of my date range. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following expression gives me the standard deviation for sub class sales outside of the time period but does not include the weeks where the item I selected did not actually sell. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STDEV( Total&amp;lt;Store&amp;gt; {$&amp;lt;[Year Week]=E([Year Week])&amp;gt;} &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr(&lt;/P&gt;&lt;P&gt;&amp;nbsp; Sum(Total&amp;lt;SUB_CLASS,&amp;nbsp; [Year Week], Store&amp;gt;{$&amp;lt;[Year Week]=E([Year Week]), Item=&amp;gt;}Sales),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; SUB_CLASS, [Year Week], Store))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jul 2015 19:07:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-07-21T19:07:02Z</dc:date>
    <item>
      <title>Standard Deviation Aggregate</title>
      <link>https://community.qlik.com/t5/QlikView/Standard-Deviation-Aggregate/m-p/908895#M469166</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 am taking the standard deviation of the sum of sales for the hierarchy an item belongs to for each week for a particular store. I am selecting one item and a date range. The standard deviation is based on the sum of sales for the hierarchy (SubClass) for each week outside of my date range. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following expression gives me the standard deviation for sub class sales outside of the time period but does not include the weeks where the item I selected did not actually sell. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STDEV( Total&amp;lt;Store&amp;gt; {$&amp;lt;[Year Week]=E([Year Week])&amp;gt;} &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr(&lt;/P&gt;&lt;P&gt;&amp;nbsp; Sum(Total&amp;lt;SUB_CLASS,&amp;nbsp; [Year Week], Store&amp;gt;{$&amp;lt;[Year Week]=E([Year Week]), Item=&amp;gt;}Sales),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; SUB_CLASS, [Year Week], Store))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 19:07:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Standard-Deviation-Aggregate/m-p/908895#M469166</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-21T19:07:02Z</dc:date>
    </item>
  </channel>
</rss>

