<?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 When Two Sums () based on Two Fields/Dimensions, How to combine them into one straight table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/When-Two-Sums-based-on-Two-Fields-Dimensions-How-to-combine-them/m-p/47180#M7853</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The two straight tables have three columns - first two columns are dimensions and the third is a Sum () expression&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The first column (dimension) in two tables come from TWO DIFFERENT&amp;nbsp; fields in the same load statement&lt;UL&gt;&lt;LI&gt;These two different fields contain same values&lt;/LI&gt;&lt;LI&gt;But most rows in the load statement may have different values in the load statement.&lt;UL&gt;&lt;LI&gt;e.g. one row may have ABC and ABC in two fields; one row may have ABC and XYZ&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;The second column (dimension) in two tables come from SAME filed in the same load statement&lt;/LI&gt;&lt;LI&gt;the third column (Sum () expression) is based on the 1st and 2nd column.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="123.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/192404_123.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My questions is how to incorporate two SUM () columns into one single straight table&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;a straight table has four columns&lt;UL&gt;&lt;LI&gt;two dimensions (Roles and Date)&lt;/LI&gt;&lt;LI&gt;3rd column is Transfer Out (e.g. row values = 1, 1,2,2,4,7,8,...) (the 3rd column in the first table above)&lt;/LI&gt;&lt;LI&gt;4th column is Transfer In (e.g. row values = 1,1,1,1,1,.....)&amp;nbsp;&amp;nbsp; (the 3rd column in the second table above)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Feb 2018 22:44:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-02-02T22:44:36Z</dc:date>
    <item>
      <title>When Two Sums () based on Two Fields/Dimensions, How to combine them into one straight table</title>
      <link>https://community.qlik.com/t5/QlikView/When-Two-Sums-based-on-Two-Fields-Dimensions-How-to-combine-them/m-p/47180#M7853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The two straight tables have three columns - first two columns are dimensions and the third is a Sum () expression&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The first column (dimension) in two tables come from TWO DIFFERENT&amp;nbsp; fields in the same load statement&lt;UL&gt;&lt;LI&gt;These two different fields contain same values&lt;/LI&gt;&lt;LI&gt;But most rows in the load statement may have different values in the load statement.&lt;UL&gt;&lt;LI&gt;e.g. one row may have ABC and ABC in two fields; one row may have ABC and XYZ&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;The second column (dimension) in two tables come from SAME filed in the same load statement&lt;/LI&gt;&lt;LI&gt;the third column (Sum () expression) is based on the 1st and 2nd column.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="123.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/192404_123.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My questions is how to incorporate two SUM () columns into one single straight table&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;a straight table has four columns&lt;UL&gt;&lt;LI&gt;two dimensions (Roles and Date)&lt;/LI&gt;&lt;LI&gt;3rd column is Transfer Out (e.g. row values = 1, 1,2,2,4,7,8,...) (the 3rd column in the first table above)&lt;/LI&gt;&lt;LI&gt;4th column is Transfer In (e.g. row values = 1,1,1,1,1,.....)&amp;nbsp;&amp;nbsp; (the 3rd column in the second table above)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2018 22:44:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/When-Two-Sums-based-on-Two-Fields-Dimensions-How-to-combine-them/m-p/47180#M7853</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-02T22:44:36Z</dc:date>
    </item>
  </channel>
</rss>

