<?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: Adding QTY's from 2 tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Adding-QTY-s-from-2-tables/m-p/1431337#M614418</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am a new to Qlik but tried the above requirement.Please let me know if this is what you are looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLE1:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product, WH, QTY&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A, X, 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B, X, 20&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C, X, 15&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;TABLE2:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product, WH, QTY&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A, y, 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B, y, 20&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C, y, 15&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;Load Product,sum(QTY)&lt;/P&gt;&lt;P&gt;Resident&amp;nbsp; TABLE1&lt;/P&gt;&lt;P&gt;group by Product;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Sep 2017 05:52:39 GMT</pubDate>
    <dc:creator>imrasyed</dc:creator>
    <dc:date>2017-09-28T05:52:39Z</dc:date>
    <item>
      <title>Adding QTY's from 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-QTY-s-from-2-tables/m-p/1431330#M614411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello good Qlik Community people...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 warehouses with product QTY's, I need to add the two QTY's into a master table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's the simplest way I can achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's a simplified representation of what I'm trying to achieve:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="WH Tables.JPG" class="jive-image image-1" src="/legacyfs/online/177948_WH Tables.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!! &lt;/P&gt;&lt;P&gt;Cheers...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 05:05:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-QTY-s-from-2-tables/m-p/1431330#M614411</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-28T05:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Adding QTY's from 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-QTY-s-from-2-tables/m-p/1431331#M614412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You dont' need anything here.. Consider as expression like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension is Product&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(QTY)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Or&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Sum({&amp;lt;WH = {"x","y"}&amp;gt;} QTY)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 05:19:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-QTY-s-from-2-tables/m-p/1431331#M614412</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-28T05:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: Adding QTY's from 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-QTY-s-from-2-tables/m-p/1431332#M614413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Concatenate&lt;/STRONG&gt; two tables...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 05:21:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-QTY-s-from-2-tables/m-p/1431332#M614413</guid>
      <dc:creator>prma7799</dc:creator>
      <dc:date>2017-09-28T05:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Adding QTY's from 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-QTY-s-from-2-tables/m-p/1431333#M614414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this you want&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 05:25:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-QTY-s-from-2-tables/m-p/1431333#M614414</guid>
      <dc:creator>prma7799</dc:creator>
      <dc:date>2017-09-28T05:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Adding QTY's from 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-QTY-s-from-2-tables/m-p/1431334#M614415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need another table or final table please elaborate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Product,WH,QTY&lt;/P&gt;&lt;P&gt;A,X,10&lt;/P&gt;&lt;P&gt;B,X,20&lt;/P&gt;&lt;P&gt;C,X,15&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Product,WH,QTY&lt;/P&gt;&lt;P&gt;A,y,20&lt;/P&gt;&lt;P&gt;B,y,40&lt;/P&gt;&lt;P&gt;C,y,30&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ResultTab:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Product as Prod,&lt;/P&gt;&lt;P&gt;Sum(QTY) as TotalQTY&lt;/P&gt;&lt;P&gt;Resident Table1&lt;/P&gt;&lt;P&gt;Group By Product;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate(ResultTab)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Product as Prod,&lt;/P&gt;&lt;P&gt;Sum(QTY) as TotalQTY&lt;/P&gt;&lt;P&gt;Resident Table2&lt;/P&gt;&lt;P&gt;Group By Product;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;FinalResult:&lt;/P&gt;&lt;P&gt;LOAD Prod,Sum(TotalQTY) as TotalQTY Resident ResultTab Group By Prod;&lt;/P&gt;&lt;P&gt;DROP Table ResultTab;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OutPut:-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="OP4.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/177950_OP4.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 05:33:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-QTY-s-from-2-tables/m-p/1431334#M614415</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-09-28T05:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Adding QTY's from 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-QTY-s-from-2-tables/m-p/1431335#M614416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone for your suggestions...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will see how I can use these concepts on my tables and mark as helpful / correct as applicable...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the example is a bit over-simplified, but the principle is the same...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have never used concatenate before so it would be good to learn this function...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again and you will hear from me soon!! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 05:37:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-QTY-s-from-2-tables/m-p/1431335#M614416</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-28T05:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Adding QTY's from 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-QTY-s-from-2-tables/m-p/1431336#M614417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Find the attached if tables Table1 and Table2 not required then you can use to drop them by&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Drop tables Table1,Table2;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 05:41:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-QTY-s-from-2-tables/m-p/1431336#M614417</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-09-28T05:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Adding QTY's from 2 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-QTY-s-from-2-tables/m-p/1431337#M614418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am a new to Qlik but tried the above requirement.Please let me know if this is what you are looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLE1:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product, WH, QTY&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A, X, 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B, X, 20&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C, X, 15&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;TABLE2:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product, WH, QTY&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A, y, 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B, y, 20&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C, y, 15&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;Load Product,sum(QTY)&lt;/P&gt;&lt;P&gt;Resident&amp;nbsp; TABLE1&lt;/P&gt;&lt;P&gt;group by Product;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 05:52:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-QTY-s-from-2-tables/m-p/1431337#M614418</guid>
      <dc:creator>imrasyed</dc:creator>
      <dc:date>2017-09-28T05:52:39Z</dc:date>
    </item>
  </channel>
</rss>

