<?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: summing two fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/summing-two-fields/m-p/577040#M1101484</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There isn't any link between the two tables so you need to define it into your sum:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write in your expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(Field B) + Sum(Field 2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;otherwise you must link the 2 tables. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Apr 2014 06:59:56 GMT</pubDate>
    <dc:creator>alexandros17</dc:creator>
    <dc:date>2014-04-15T06:59:56Z</dc:date>
    <item>
      <title>summing two fields</title>
      <link>https://community.qlik.com/t5/QlikView/summing-two-fields/m-p/577039#M1101483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two tables&amp;nbsp; as shown bbelow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table A: Fields A,Fields B,Fields C,Fields D&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table B: Fields 1,Fields 2,Fields 3,Fields 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to sum the value of&lt;/P&gt;&lt;P&gt;Fields B with Fields 2&lt;/P&gt;&lt;P&gt;Fields C with Fields 3&lt;/P&gt;&lt;P&gt;Fields D with Fields 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i achieve this if i give common names its craeting sync tabels..is there any alternative..Please do help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prajna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 06:56:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/summing-two-fields/m-p/577039#M1101483</guid>
      <dc:creator />
      <dc:date>2014-04-15T06:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: summing two fields</title>
      <link>https://community.qlik.com/t5/QlikView/summing-two-fields/m-p/577040#M1101484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There isn't any link between the two tables so you need to define it into your sum:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write in your expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(Field B) + Sum(Field 2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;otherwise you must link the 2 tables. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 06:59:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/summing-two-fields/m-p/577040#M1101484</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-04-15T06:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: summing two fields</title>
      <link>https://community.qlik.com/t5/QlikView/summing-two-fields/m-p/577041#M1101485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simply on expression write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum(Fields B) + Sum(Fields 2)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum(Fields C) + Sum(Fields 3)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum(Fields D)&amp;nbsp; + Sum(Fields 4)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 07:03:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/summing-two-fields/m-p/577041#M1101485</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-04-15T07:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: summing two fields</title>
      <link>https://community.qlik.com/t5/QlikView/summing-two-fields/m-p/577042#M1101486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe use common field names, but CONCATENATE your two tables. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 07:03:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/summing-two-fields/m-p/577042#M1101486</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-04-15T07:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: summing two fields</title>
      <link>https://community.qlik.com/t5/QlikView/summing-two-fields/m-p/577043#M1101487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume here that From Table A Fields A and From Table B Fields are the keys if they are unique then link this two tables or make join between then by checking the key&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Table A:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Fields A] as ID,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Fields B],&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Fields C],&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Fields D]&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;From location;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;left join&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; Table B: &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Fields 1] as ID,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Fields 2],&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Fields 3],&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Fields 4]&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;From location;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 07:07:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/summing-two-fields/m-p/577043#M1101487</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-04-15T07:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: summing two fields</title>
      <link>https://community.qlik.com/t5/QlikView/summing-two-fields/m-p/577044#M1101488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Create a common key field in both tables and join them.Later you can apply the condition FieldA + Field1 while loading.&lt;/P&gt;&lt;P&gt;Eg:&lt;/P&gt;&lt;P&gt;Source1:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FieldA, FieldB,Key&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100, 200,1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 300, 400,2&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Left Join &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Source2:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;LOAD * INLINE [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field1, Field2,Key&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 400, 300,1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 200, 900,2&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD FieldA+Field1 as Sum1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FieldB+ Field2 as sum2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Resident Source1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 08:58:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/summing-two-fields/m-p/577044#M1101488</guid>
      <dc:creator>adarsh_a</dc:creator>
      <dc:date>2014-04-15T08:58:16Z</dc:date>
    </item>
  </channel>
</rss>

