<?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: sum set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/sum-set-analysis/m-p/612202#M225906</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chayong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QV is reflecting the same, what you required in your output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have a look in attached QV.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Mar 2014 08:43:39 GMT</pubDate>
    <dc:creator>ashwanin</dc:creator>
    <dc:date>2014-03-07T08:43:39Z</dc:date>
    <item>
      <title>sum set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/sum-set-analysis/m-p/612198#M225902</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;/P&gt;&lt;P&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;/P&gt;&lt;P&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;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 23:52:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-set-analysis/m-p/612198#M225902</guid>
      <dc:creator />
      <dc:date>2014-03-06T23:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: sum set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/sum-set-analysis/m-p/612199#M225903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you want to use corresponding rows for A and B to be multiplied for table, use order by key while loading Table.. other wise it will not know which A value to multiply with B and finally make sum.. and qvd can not support orderby only resident table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 00:07:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-set-analysis/m-p/612199#M225903</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-07T00:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: sum set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/sum-set-analysis/m-p/612200#M225904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't explain from the information you've given. Can you post a qvw that shows the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 01:05:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-set-analysis/m-p/612200#M225904</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2014-03-07T01:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: sum set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/sum-set-analysis/m-p/612201#M225905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cant replicate this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I put the data into an INLINE table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * INLINE [&lt;/P&gt;&lt;P&gt;key,A,B&lt;/P&gt;&lt;P&gt;1,2,5&lt;/P&gt;&lt;P&gt;2,1,2&lt;/P&gt;&lt;P&gt;3,6,3&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then load the script and create a chart object straight table using Dimension as Key - no matter what I do - SUM(A*B) always give correct answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Rob says - can you attached a qvw ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 08:22:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-set-analysis/m-p/612201#M225905</guid>
      <dc:creator />
      <dc:date>2014-03-07T08:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: sum set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/sum-set-analysis/m-p/612202#M225906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chayong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QV is reflecting the same, what you required in your output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have a look in attached QV.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 08:43:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-set-analysis/m-p/612202#M225906</guid>
      <dc:creator>ashwanin</dc:creator>
      <dc:date>2014-03-07T08:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: sum set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/sum-set-analysis/m-p/612203#M225907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see the attached file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 09:10:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-set-analysis/m-p/612203#M225907</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2014-03-07T09:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: sum set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/sum-set-analysis/m-p/612204#M225908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, everyone, thanks for helping, I think one thing I did not make it clear. It was that column B is 1-1 relationship with key, but A column is joined in table by another key value C. This may cause the problem. But still not sure how to solve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 09:16:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-set-analysis/m-p/612204#M225908</guid>
      <dc:creator />
      <dc:date>2014-03-07T09:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: sum set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/sum-set-analysis/m-p/612205#M225909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Thanks a lot for helping. Here is the example of my question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 15:23:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-set-analysis/m-p/612205#M225909</guid>
      <dc:creator />
      <dc:date>2014-03-10T15:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: sum set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/sum-set-analysis/m-p/612206#M225910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I find one solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Rate1:&lt;/P&gt;&lt;P&gt;//Load distinct&lt;/P&gt;&lt;P&gt;//System,RatePermm&lt;/P&gt;&lt;P&gt;//resident Brokerage;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 15:24:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-set-analysis/m-p/612206#M225910</guid>
      <dc:creator />
      <dc:date>2014-03-10T15:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: sum set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/sum-set-analysis/m-p/612207#M225911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Here is the example of my problem and now I find one solution for it.&lt;/P&gt;&lt;P&gt;//Rate1:&lt;/P&gt;&lt;P&gt;//Load distinct&lt;/P&gt;&lt;P&gt;//System,RatePermm&lt;/P&gt;&lt;P&gt;//resident Brokerage;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 15:26:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-set-analysis/m-p/612207#M225911</guid>
      <dc:creator />
      <dc:date>2014-03-10T15:26:11Z</dc:date>
    </item>
  </channel>
</rss>

