<?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 multiple qvd problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Joining-multiple-qvd-problem/m-p/527875#M197261</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, please find the solution attached.&lt;/P&gt;&lt;P&gt;You need to create a composite key otherwise QV will create a synthetic one and we want to avoid those.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;J.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Oct 2013 15:40:45 GMT</pubDate>
    <dc:creator>jvitantonio</dc:creator>
    <dc:date>2013-10-08T15:40:45Z</dc:date>
    <item>
      <title>Joining multiple qvd problem</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-multiple-qvd-problem/m-p/527874#M197260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following scenario in my application:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have weekly&amp;nbsp; generated qvd’s with the same structure, named &lt;STRONG&gt;&lt;EM&gt;AVA_WEEK_CHAN_KPI*&lt;/EM&gt;&lt;/STRONG&gt; and weekly generated qvd’s with the same structure, named &lt;STRONG&gt;&lt;EM&gt;DNS_KPI_* &lt;/EM&gt;&lt;/STRONG&gt;(* stands for week number and country , in both cases).&lt;/P&gt;&lt;P&gt;I have to make an inner join on&amp;nbsp; data from all the qvd &lt;STRONG&gt;&lt;EM&gt;AVA_WEEK_CHAN_KPI* &lt;/EM&gt;&lt;/STRONG&gt;with data from &lt;STRONG&gt;&lt;EM&gt;DNS_KPI_* .&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;What is strange for me is that, when I have 1 qvd &lt;STRONG&gt;&lt;EM&gt;AVA_WEEK_CHAN_KPI* &lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt; &lt;/EM&gt;and 1 qvd &lt;STRONG&gt;&lt;EM&gt;DNS_KPI_*&lt;/EM&gt;&lt;/STRONG&gt; it works well, there are common records, but when there are more than 1 qvd’s of same type, no common records can be found.&lt;/P&gt;&lt;P&gt;I did some tests on data and I can assure that data in the qvds are good; join returns common records when there is a single qvd for every of the used weeks(44,45,46)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you give me a suggestion or a hint?&lt;/P&gt;&lt;P&gt;I attached a small application illustrating this issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 15:18:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-multiple-qvd-problem/m-p/527874#M197260</guid>
      <dc:creator />
      <dc:date>2013-10-08T15:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Joining multiple qvd problem</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-multiple-qvd-problem/m-p/527875#M197261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, please find the solution attached.&lt;/P&gt;&lt;P&gt;You need to create a composite key otherwise QV will create a synthetic one and we want to avoid those.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;J.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 15:40:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-multiple-qvd-problem/m-p/527875#M197261</guid>
      <dc:creator>jvitantonio</dc:creator>
      <dc:date>2013-10-08T15:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: Joining multiple qvd problem</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-multiple-qvd-problem/m-p/527876#M197262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, thank you for your answer, but the app returns a carthesian product instead of an inner join.&lt;/P&gt;&lt;P&gt;If you check my attachment, there were not synthetic keys so I'm not sure that this is the cause.&lt;/P&gt;&lt;P&gt;As I said below, when I have a qvd of each type, works fine, but when I have multiple qvd's, no results are displayed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 09:51:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-multiple-qvd-problem/m-p/527876#M197262</guid>
      <dc:creator />
      <dc:date>2013-10-10T09:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Joining multiple qvd problem</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-multiple-qvd-problem/m-p/527877#M197263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After the first inner join only the records with common keys with the first DNS_* qvd remain. Then another inner join with the second DNS_ qvd is done. And if there are no common keys between the first and second DNS_ qvd then you have no records left. What you want to do is first load all the qvd's without the inner join. Then finally do an inner join between the two tables using a resident load. Simplified:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempAVA&lt;/P&gt;&lt;P&gt;load * from AVA*.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TemDNS:&lt;/P&gt;&lt;P&gt;load * from DNS*.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inner join(TempAVA)&lt;/P&gt;&lt;P&gt;load * resident TempDNS;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table TempDNS;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 10:42:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-multiple-qvd-problem/m-p/527877#M197263</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-10-10T10:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Joining multiple qvd problem</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-multiple-qvd-problem/m-p/527878#M197264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, try now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 11:42:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-multiple-qvd-problem/m-p/527878#M197264</guid>
      <dc:creator>jvitantonio</dc:creator>
      <dc:date>2013-10-10T11:42:37Z</dc:date>
    </item>
  </channel>
</rss>

