<?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: Joining Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Joining-Table/m-p/862349#M301815</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sarb,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please see attached, if you concatenate the two tables together and add a data type field to your final table, you can then use set analysis to count the correct type of data you want a total for. Still all via one date though&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg for Number of Invoices&amp;nbsp; Count({&amp;lt;Data_Type={'Invoice'}&amp;gt;} ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope that helps&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 May 2015 15:42:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-05-01T15:42:14Z</dc:date>
    <item>
      <title>Joining Table</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-Table/m-p/862348#M301814</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 have a joining question.&lt;/P&gt;&lt;P&gt;I have a sales &amp;amp; purchases table.&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/85485_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;Each jobID in Sales could have multiple purchases. &lt;/P&gt;&lt;P&gt;Some Purchase invoices wont have any JobID because they are like utilities bills.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to calculate the number of Invoices, sum of VAT and lots more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use Join method then for an Invoice that has two purchases, it double counts the invoice number and double sums the VAT. If I use the Concatenate then it doesn't link everything properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also need to combine both dates so that I can link it to one calendar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's the best method of doing this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2015 11:37:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-Table/m-p/862348#M301814</guid>
      <dc:creator />
      <dc:date>2015-05-01T11:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Joining Table</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-Table/m-p/862349#M301815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sarb,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please see attached, if you concatenate the two tables together and add a data type field to your final table, you can then use set analysis to count the correct type of data you want a total for. Still all via one date though&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg for Number of Invoices&amp;nbsp; Count({&amp;lt;Data_Type={'Invoice'}&amp;gt;} ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope that helps&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2015 15:42:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-Table/m-p/862349#M301815</guid>
      <dc:creator />
      <dc:date>2015-05-01T15:42:14Z</dc:date>
    </item>
  </channel>
</rss>

