<?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: weighted average with months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/weighted-average-with-months/m-p/735014#M475138</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have partially solved my problem using Max(Month) - Min(Month). Partially because if Max(Month) considered has a Null QT, it is not counted in my average.. Any idea to solve this problem? thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 09 Aug 2014 07:20:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-08-09T07:20:19Z</dc:date>
    <item>
      <title>weighted average with months</title>
      <link>https://community.qlik.com/t5/QlikView/weighted-average-with-months/m-p/735013#M475137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Hi all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;I have:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Customer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Qty&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Value&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Month&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;I should calculate a weighted average of quantity starting with the month in which the Customer has been activated&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;i.e &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Customer #1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Month/Quantity&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Mar: 4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Sep: 7&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Dec:10&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;My weighted average is: 2,1 [(4+7+10)/10] 10 Months because I don't count Jan+Feb when the customer did not exist. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;I wonder how to make it in qlik...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Any suggestion would be really appreciated! Thanks in advance!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2014 16:59:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/weighted-average-with-months/m-p/735013#M475137</guid>
      <dc:creator />
      <dc:date>2014-08-07T16:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: weighted average with months</title>
      <link>https://community.qlik.com/t5/QlikView/weighted-average-with-months/m-p/735014#M475138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have partially solved my problem using Max(Month) - Min(Month). Partially because if Max(Month) considered has a Null QT, it is not counted in my average.. Any idea to solve this problem? thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Aug 2014 07:20:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/weighted-average-with-months/m-p/735014#M475138</guid>
      <dc:creator />
      <dc:date>2014-08-09T07:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: weighted average with months</title>
      <link>https://community.qlik.com/t5/QlikView/weighted-average-with-months/m-p/735015#M475139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please share a sample application&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 14:01:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/weighted-average-with-months/m-p/735015#M475139</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-08-11T14:01:22Z</dc:date>
    </item>
  </channel>
</rss>

