<?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 set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis/m-p/612046#M478664</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can someone help me on this question?&lt;/P&gt;&lt;P&gt;I have a table contain quite a few fields like below. Lets say two of fields are A and B. I want to calcuate sum(A*B). The question is that I expect sum(A*B) equals to 10+2+18. but it is not.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;table:&lt;/P&gt;&lt;P&gt;---------------------------&lt;/P&gt;&lt;P&gt;key, A, B, A*B...&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; , 2, 5, 10,...&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp; , 1, 2, 2,...&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp; , 6, 3, 18,...&lt;/P&gt;&lt;P&gt;---------------------------&lt;/P&gt;&lt;P&gt;if I select key field 1, the table become like below, just have the first row.&lt;/P&gt;&lt;P&gt;------------------------------&lt;/P&gt;&lt;P&gt;key, A, B, A*B...&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; , 2, 5, 10,...&lt;/P&gt;&lt;P&gt;------------------------------&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I expected sum(A*B) = 10. But its calcuated result is (2+1+6)*5=45.&lt;/P&gt;&lt;P&gt;if I did sum(B)*A it will give me 5*2=10&lt;/P&gt;&lt;P&gt;I am confused. Under the current selection, A should just be number 2, why when I did sum(A*B), it sum all A value (2, 1, 6)?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Mar 2014 23:53:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-06T23:53:46Z</dc:date>
    <item>
      <title>set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis/m-p/612046#M478664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can someone help me on this question?&lt;/P&gt;&lt;P&gt;I have a table contain quite a few fields like below. Lets say two of fields are A and B. I want to calcuate sum(A*B). The question is that I expect sum(A*B) equals to 10+2+18. but it is not.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;table:&lt;/P&gt;&lt;P&gt;---------------------------&lt;/P&gt;&lt;P&gt;key, A, B, A*B...&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; , 2, 5, 10,...&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp; , 1, 2, 2,...&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp; , 6, 3, 18,...&lt;/P&gt;&lt;P&gt;---------------------------&lt;/P&gt;&lt;P&gt;if I select key field 1, the table become like below, just have the first row.&lt;/P&gt;&lt;P&gt;------------------------------&lt;/P&gt;&lt;P&gt;key, A, B, A*B...&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; , 2, 5, 10,...&lt;/P&gt;&lt;P&gt;------------------------------&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I expected sum(A*B) = 10. But its calcuated result is (2+1+6)*5=45.&lt;/P&gt;&lt;P&gt;if I did sum(B)*A it will give me 5*2=10&lt;/P&gt;&lt;P&gt;I am confused. Under the current selection, A should just be number 2, why when I did sum(A*B), it sum all A value (2, 1, 6)?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 23:53:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis/m-p/612046#M478664</guid>
      <dc:creator />
      <dc:date>2014-03-06T23:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis/m-p/612047#M478665</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;The results reported by Qlikview is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tab:&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;key, A, B, AxB&lt;/P&gt;&lt;P&gt;1, 2, 5, 10&lt;/P&gt;&lt;P&gt;2, 1, 2, 2&lt;/P&gt;&lt;P&gt;3, 6, 3, 18&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="265"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="48"&gt;key&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="46"&gt;A&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="41"&gt;B&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="47"&gt;AxB&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="83"&gt;Sum(A*B)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl64" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl64" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl64" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none;"&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;18&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;18&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="265"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="48"&gt;key&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="46"&gt;A&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="41"&gt;B&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="47"&gt;AxB&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="83"&gt;Sum(A*B)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl64" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl64" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl64" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none;"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 00:24:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis/m-p/612047#M478665</guid>
      <dc:creator>felipe_dutra</dc:creator>
      <dc:date>2014-03-07T00:24:11Z</dc:date>
    </item>
  </channel>
</rss>

