<?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/236330#M87528</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If i have understood you, you can try Column() function OR use a column name(if its a calculated column) with double quotes like "Mycolumn".&lt;/P&gt;&lt;P&gt;regards, tresesco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Dec 2010 13:04:43 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2010-12-30T13:04:43Z</dc:date>
    <item>
      <title>Weighted average</title>
      <link>https://community.qlik.com/t5/QlikView/Weighted-average/m-p/236329#M87527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ..&lt;BR /&gt;&lt;BR /&gt;I need to do a weighted average of columns.&lt;BR /&gt;&lt;BR /&gt;I have several columns with very large expressions.&lt;BR /&gt;I'm not able to do this weighting because the columns have the SUM function.&lt;BR /&gt;&lt;BR /&gt;Column 1 = sum (my term)&lt;BR /&gt;Column 2 = Sum (my term)&lt;BR /&gt;Column 3 = Sum (my term)&lt;BR /&gt;&lt;BR /&gt;The weighting is as follows:&lt;BR /&gt;&lt;BR /&gt;sum (Column 1 * Column 2) / sum (Column 2).&lt;BR /&gt;&lt;BR /&gt;Anyone know another way to make weight?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Dec 2010 12:46:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weighted-average/m-p/236329#M87527</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-12-30T12:46:15Z</dc:date>
    </item>
    <item>
      <title>Weighted average</title>
      <link>https://community.qlik.com/t5/QlikView/Weighted-average/m-p/236330#M87528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If i have understood you, you can try Column() function OR use a column name(if its a calculated column) with double quotes like "Mycolumn".&lt;/P&gt;&lt;P&gt;regards, tresesco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Dec 2010 13:04:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weighted-average/m-p/236330#M87528</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2010-12-30T13:04:43Z</dc:date>
    </item>
    <item>
      <title>Weighted average</title>
      <link>https://community.qlik.com/t5/QlikView/Weighted-average/m-p/236331#M87529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;As tresesco suggested use the column function.&lt;/P&gt;&lt;P&gt;(column(1) * coulmn(2)) / column(3)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Dec 2010 13:08:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weighted-average/m-p/236331#M87529</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2010-12-30T13:08:12Z</dc:date>
    </item>
    <item>
      <title>Weighted average</title>
      <link>https://community.qlik.com/t5/QlikView/Weighted-average/m-p/236332#M87530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is that I can not seem to add a column that already has within it the expression SUM. Column 1 = sum (my term) Column 2 = Sum (my term) Column 3 = Sum (my term) Is giving error if I do this: Sum (Column 1), within a column already has the words sum, plus the weighted average I need to use that expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Dec 2010 13:15:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weighted-average/m-p/236332#M87530</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-12-30T13:15:11Z</dc:date>
    </item>
    <item>
      <title>Weighted average</title>
      <link>https://community.qlik.com/t5/QlikView/Weighted-average/m-p/236333#M87531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Washington wrote:The problem is that I can not seem to add a column that already has within it the expression SUM. Column 1 = sum (my term) Column 2 = Sum (my term) Column 3 = Sum (my term) Is giving error if I do this: Sum (Column 1), within a column already has the words sum, plus the weighted average I need to use that expression.&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Perhaps instead of continuing to do what you already posted in the first post and know doesn't work, you should try doing what was suggested?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Deepak Kurup wrote:(column(1) * column(2)) / column(3)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Dec 2010 00:41:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weighted-average/m-p/236333#M87531</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-12-31T00:41:17Z</dc:date>
    </item>
    <item>
      <title>Weighted average</title>
      <link>https://community.qlik.com/t5/QlikView/Weighted-average/m-p/236334#M87532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John,&lt;BR /&gt;&lt;BR /&gt;The suggested procedure (column (1) * column (2)) / column (2) have tested more does not work.&lt;/P&gt;&lt;P&gt;On average I have to be weighted by multiplying the sum divided by the sum of another column.&lt;BR /&gt;&lt;BR /&gt;Sum (column (1) * column (2)) / Sum (column (2))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Dec 2010 11:51:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weighted-average/m-p/236334#M87532</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-12-31T11:51:56Z</dc:date>
    </item>
    <item>
      <title>Weighted average</title>
      <link>https://community.qlik.com/t5/QlikView/Weighted-average/m-p/236335#M87533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Sorry its not clear. Can you let us know what should be the exact value in the final column&lt;/P&gt;&lt;P&gt;eg:&lt;/P&gt;&lt;P&gt;A B output&lt;/P&gt;&lt;P&gt;10 3 5&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Jan 2011 03:30:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weighted-average/m-p/236335#M87533</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2011-01-02T03:30:54Z</dc:date>
    </item>
    <item>
      <title>Weighted average</title>
      <link>https://community.qlik.com/t5/QlikView/Weighted-average/m-p/236336#M87534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Washington wrote:The suggested procedure (column (1) * column (2)) / column (2) have tested more does not work.&lt;BR /&gt;On average I have to be weighted by multiplying the sum divided by the sum of another column.&lt;BR /&gt;&lt;BR /&gt;Sum (column (1) * column (2)) / Sum (column (2))&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Sorry. I guess I wasn't understanding the question. I'm still not sure if I'm understanding the question, because looking at your example, it appears that you've already solved your own problem? 62,73 looks like the correct weighted average to me. If that is NOT what you want, can you please explain what numbers you want in the final column, and how you want them computed? Because I'm lost, and it looks like everyone else is too.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jan 2011 19:45:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weighted-average/m-p/236336#M87534</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-01-03T19:45:37Z</dc:date>
    </item>
    <item>
      <title>Weighted average</title>
      <link>https://community.qlik.com/t5/QlikView/Weighted-average/m-p/236337#M87535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;BR /&gt;&lt;BR /&gt;As the previous comments, it was said that if I do a weighted average of the columns will work.&lt;BR /&gt;&lt;BR /&gt;= sum (col1 * col2) / sum (col2).&lt;BR /&gt;&lt;BR /&gt;Most failed.&lt;/P&gt;&lt;P&gt;When the mean field is done by returning it works the value of 62.73.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 13:09:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weighted-average/m-p/236337#M87535</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-01-04T13:09:41Z</dc:date>
    </item>
  </channel>
</rss>

