<?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 Weighted Average in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Weighted-Average/m-p/737091#M1069108</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there I am facing a Problem related to weighted averages. As shown in the table below, my data comprise 3 components: 'machine', 'amount' and 'time' (see Table). What I'm trying to do is calculating the weighted average of time for the two machines A and B based on the weighting factor 'amount'.&lt;/P&gt;&lt;P&gt;I managed to do so by calculating it as shown in the last three colums in the table. BUT: this only works when one of the mashines is selected. The weighted average is then the sum of the single components above (last colum).&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Pic1.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/65139_Pic1.jpg" style="width: 620px; height: 189px;" /&gt;&lt;/P&gt;&lt;P&gt;Weighted Average for machine A: 4,62&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Pic2.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/65140_Pic2.jpg" style="width: 620px; height: 189px;" /&gt;&lt;/P&gt;&lt;P&gt;Weighted Average for machine B: 4,41&lt;IMG alt="Pic3.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/65141_Pic3.jpg" style="width: 620px; height: 189px;" /&gt;:&lt;/P&gt;&lt;P&gt;What I would like to achieve is to calculate the weighted averages in a Table, in which the two machines are represented in only a single row, which means that the only Dimension of this table is 'machine' (as shown below)!&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Pic4.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/65142_Pic4.jpg" /&gt;&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Aug 2014 15:43:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-08-25T15:43:22Z</dc:date>
    <item>
      <title>Weighted Average</title>
      <link>https://community.qlik.com/t5/QlikView/Weighted-Average/m-p/737091#M1069108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there I am facing a Problem related to weighted averages. As shown in the table below, my data comprise 3 components: 'machine', 'amount' and 'time' (see Table). What I'm trying to do is calculating the weighted average of time for the two machines A and B based on the weighting factor 'amount'.&lt;/P&gt;&lt;P&gt;I managed to do so by calculating it as shown in the last three colums in the table. BUT: this only works when one of the mashines is selected. The weighted average is then the sum of the single components above (last colum).&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Pic1.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/65139_Pic1.jpg" style="width: 620px; height: 189px;" /&gt;&lt;/P&gt;&lt;P&gt;Weighted Average for machine A: 4,62&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Pic2.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/65140_Pic2.jpg" style="width: 620px; height: 189px;" /&gt;&lt;/P&gt;&lt;P&gt;Weighted Average for machine B: 4,41&lt;IMG alt="Pic3.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/65141_Pic3.jpg" style="width: 620px; height: 189px;" /&gt;:&lt;/P&gt;&lt;P&gt;What I would like to achieve is to calculate the weighted averages in a Table, in which the two machines are represented in only a single row, which means that the only Dimension of this table is 'machine' (as shown below)!&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Pic4.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/65142_Pic4.jpg" /&gt;&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2014 15:43:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weighted-Average/m-p/737091#M1069108</guid>
      <dc:creator />
      <dc:date>2014-08-25T15:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Weighted Average</title>
      <link>https://community.qlik.com/t5/QlikView/Weighted-Average/m-p/737092#M1069109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallo Tim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is a possible answer to this question in your thread&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/130450"&gt;Weighted Average&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But let me try again:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="65177" alt="QlikCommunity_Thread_130618_Pic1.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/65177_QlikCommunity_Thread_130618_Pic1.JPG.jpg" style="width: 620px; height: 68px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gruß&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2014 23:33:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weighted-Average/m-p/737092#M1069109</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-08-25T23:33:26Z</dc:date>
    </item>
  </channel>
</rss>

