<?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: Datapull from multiple qvds in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Datapull-from-multiple-qvds/m-p/1566599#M743363</link>
    <description>&lt;P&gt;Outer join is the default join in qlik. use something like below&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;YOURTABLENAME:
load *
from PREM.QVD

join(YOURTABLENAME)
load
key,
NF_PREMIUM
from INF.qvd;

join(YOURTABLENAME)
load
key,
,RET_NUM_AMT
, RET_DEN_AMT 
from RET.qvd;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;check below links&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense/February2019/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptPrefixes/Outer.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/February2019/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptPrefixes/Outer.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense/February2019/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptPrefixes/Join.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/February2019/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptPrefixes/Join.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-Creating-Analytics/Understanding-Join-Keep-and-Concatenate/td-p/328379" target="_blank"&gt;https://community.qlik.com/t5/QlikView-Creating-Analytics/Understanding-Join-Keep-and-Concatenate/td-p/328379&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Apr 2019 18:52:24 GMT</pubDate>
    <dc:creator>dplr-rn</dc:creator>
    <dc:date>2019-04-08T18:52:24Z</dc:date>
    <item>
      <title>Datapull from multiple qvds</title>
      <link>https://community.qlik.com/t5/QlikView/Datapull-from-multiple-qvds/m-p/1566584#M743362</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have 3 QVD' s that I have loaded for 3 separate applications.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, I want to use those 3 qvd's in a new application so that I can see all the data in one single application instead of 3 different applications.&lt;/P&gt;&lt;P&gt;PREM.QVD has the following fields:&lt;/P&gt;&lt;P&gt;1. KEY&lt;/P&gt;&lt;P&gt;2. ACCOUNT_NAME&lt;/P&gt;&lt;P&gt;3.ACCOUNT_ADDRESS&lt;/P&gt;&lt;P&gt;4.TECHNICIAN_NAME&lt;/P&gt;&lt;P&gt;5.TECHNICIAN_ADDRESS&lt;/P&gt;&lt;P&gt;6.NUMBER&lt;/P&gt;&lt;P&gt;7. TERM&lt;/P&gt;&lt;P&gt;8. MONTHLY_PREMIUM&lt;/P&gt;&lt;P&gt;INF.QVD has the following fields:&lt;/P&gt;&lt;P&gt;1. KEY&lt;/P&gt;&lt;P&gt;2. ACCOUNT_NAME&lt;/P&gt;&lt;P&gt;3.ACCOUNT_ADDRESS&lt;/P&gt;&lt;P&gt;4.TECHNICIAN_NAME&lt;/P&gt;&lt;P&gt;5.TECHNICIAN_ADDRESS&lt;/P&gt;&lt;P&gt;6. NUM&lt;/P&gt;&lt;P&gt;7. TERM&lt;/P&gt;&lt;P&gt;8. INF_PREMIUM&lt;/P&gt;&lt;P&gt;RET.QVD has the following fields:&lt;/P&gt;&lt;P&gt;1. KEY&lt;/P&gt;&lt;P&gt;2. ACCOUNT_NAME&lt;/P&gt;&lt;P&gt;3.ACCOUNT_ADDRESS&lt;/P&gt;&lt;P&gt;4.TECHNICIAN_NAME&lt;/P&gt;&lt;P&gt;5.TECHNICIAN_ADDRESS&lt;/P&gt;&lt;P&gt;6. NUM&lt;/P&gt;&lt;P&gt;7. TERM&lt;/P&gt;&lt;P&gt;8. RET_NUM_AMT&lt;/P&gt;&lt;P&gt;9. RET_DEN_AMT&lt;/P&gt;&lt;P&gt;I want to do a full outer join and pull all the fields PREM.QVD&lt;/P&gt;&lt;P&gt;and 'INF_PREMIUM' from INF.qvd&lt;/P&gt;&lt;P&gt;and 'RET_NUM_AMT', 'RET_DEN_AMT' from RET.qvd&lt;/P&gt;&lt;P&gt;Please advise on how to do a full outer join?&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Datapull-from-multiple-qvds/m-p/1566584#M743362</guid>
      <dc:creator>aarohipatel</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Datapull from multiple qvds</title>
      <link>https://community.qlik.com/t5/QlikView/Datapull-from-multiple-qvds/m-p/1566599#M743363</link>
      <description>&lt;P&gt;Outer join is the default join in qlik. use something like below&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;YOURTABLENAME:
load *
from PREM.QVD

join(YOURTABLENAME)
load
key,
NF_PREMIUM
from INF.qvd;

join(YOURTABLENAME)
load
key,
,RET_NUM_AMT
, RET_DEN_AMT 
from RET.qvd;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;check below links&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense/February2019/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptPrefixes/Outer.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/February2019/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptPrefixes/Outer.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense/February2019/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptPrefixes/Join.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/February2019/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptPrefixes/Join.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-Creating-Analytics/Understanding-Join-Keep-and-Concatenate/td-p/328379" target="_blank"&gt;https://community.qlik.com/t5/QlikView-Creating-Analytics/Understanding-Join-Keep-and-Concatenate/td-p/328379&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 18:52:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Datapull-from-multiple-qvds/m-p/1566599#M743363</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-04-08T18:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Datapull from multiple qvds</title>
      <link>https://community.qlik.com/t5/QlikView/Datapull-from-multiple-qvds/m-p/1566604#M743364</link>
      <description>&lt;P&gt;The syntax for full outer join is JOIN.&lt;/P&gt;&lt;P&gt;In QlikView you will join on all fields that have the identical name. So in you do the following...&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;Load * from&amp;nbsp;&lt;SPAN&gt;PREM.QVD (qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Join (Data)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Load * from&amp;nbsp;INF.QVD;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;...you will join on all the following fields&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1. KEY&lt;/P&gt;&lt;P&gt;2. ACCOUNT_NAME&lt;/P&gt;&lt;P&gt;3.ACCOUNT_ADDRESS&lt;/P&gt;&lt;P&gt;4.TECHNICIAN_NAME&lt;/P&gt;&lt;P&gt;5.TECHNICIAN_ADDRESS&lt;/P&gt;&lt;P&gt;7. TERM&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt; that you will not join on field 6 as they have different names in the two tables, &lt;SPAN&gt;NUMBER and NUM&lt;/SPAN&gt;. To even include the NUMBER in the join you should rename it in one of the table (NUM as NUMBER)&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 19:00:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Datapull-from-multiple-qvds/m-p/1566604#M743364</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-04-08T19:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Datapull from multiple qvds</title>
      <link>https://community.qlik.com/t5/QlikView/Datapull-from-multiple-qvds/m-p/1566608#M743365</link>
      <description>&lt;P&gt;Hi Dilipranjith,&lt;/P&gt;&lt;P&gt;I did try that but the reload failed after loading PREM and INF. Failed to load RET&amp;nbsp;&lt;/P&gt;&lt;P&gt;When looked at the application log, no specific error mentioned except the following:&lt;/P&gt;&lt;P&gt;2019-04-08 10:32:25 Joining/Keeping&lt;BR /&gt;2019-04-08 10:34:55 -129 =&lt;BR /&gt;2019-04-08 10:34:57 Execution Failed&lt;/P&gt;&lt;P&gt;Please advise&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 19:05:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Datapull-from-multiple-qvds/m-p/1566608#M743365</guid>
      <dc:creator>aarohipatel</dc:creator>
      <dc:date>2019-04-08T19:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: Datapull from multiple qvds</title>
      <link>https://community.qlik.com/t5/QlikView/Datapull-from-multiple-qvds/m-p/1566611#M743366</link>
      <description>i have an extra comma by mistake in previous one&lt;BR /&gt;&lt;BR /&gt;join(YOURTABLENAME)&lt;BR /&gt;load&lt;BR /&gt;key&lt;BR /&gt;,RET_NUM_AMT&lt;BR /&gt;, RET_DEN_AMT&lt;BR /&gt;from RET.qvd;</description>
      <pubDate>Mon, 08 Apr 2019 19:07:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Datapull-from-multiple-qvds/m-p/1566611#M743366</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-04-08T19:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Datapull from multiple qvds</title>
      <link>https://community.qlik.com/t5/QlikView/Datapull-from-multiple-qvds/m-p/1566614#M743367</link>
      <description>By the look of your field names it seems like the fields you are adding with join are all numeric fields used for calculations and not dimensions used for selections in the application.&lt;BR /&gt;&lt;BR /&gt;If so, then I would suggest you to consider to concatenate the QVDs as an good alternative to implementing a double full outer join.&lt;BR /&gt;&lt;BR /&gt;TABLENAME:&lt;BR /&gt;LOAD * FROM INF.QVD (QVD);&lt;BR /&gt;&lt;BR /&gt;CONCATENATE (TABLENAME)&lt;BR /&gt;LOAD * FROM PREM.QVD (QVD);&lt;BR /&gt;&lt;BR /&gt;CONCATENATE (TABLENAME)&lt;BR /&gt;LOAD * FROM RET.QVD (QVD);</description>
      <pubDate>Mon, 08 Apr 2019 19:16:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Datapull-from-multiple-qvds/m-p/1566614#M743367</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-04-08T19:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Datapull from multiple qvds</title>
      <link>https://community.qlik.com/t5/QlikView/Datapull-from-multiple-qvds/m-p/1566615#M743368</link>
      <description>&lt;P&gt;It still gives the same error in my script .&lt;/P&gt;&lt;P&gt;How about the following:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;PREM:&lt;/P&gt;&lt;P&gt;Load&lt;BR /&gt;KEY,&lt;BR /&gt;ACCOUNT_NAME,&lt;BR /&gt;ACCOUNT_ADDRESS,&lt;BR /&gt;TECHNICIAN_NAME,&lt;BR /&gt;TECHNICIAN_ADDRESS,&lt;BR /&gt;NUM,&lt;BR /&gt;TERM,&lt;BR /&gt;MONTHLY_PREMIUM&lt;BR /&gt;from PREM.QVD&lt;/P&gt;&lt;P&gt;Outer Join(PREM)&lt;BR /&gt;INF:&lt;BR /&gt;Load&lt;BR /&gt;KEY,&lt;BR /&gt;INF_PREMIUM&lt;BR /&gt;from INF.QVD&lt;/P&gt;&lt;P&gt;Outer Join (PREM) //question: should this join be (PREM) or (INF)&lt;BR /&gt;RET:&lt;BR /&gt;Load&lt;BR /&gt;KEY,&lt;BR /&gt;RET_NUM_AMT,&lt;BR /&gt;RET_DEN_AMT&lt;BR /&gt;from RET.QVD&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 19:16:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Datapull-from-multiple-qvds/m-p/1566615#M743368</guid>
      <dc:creator>aarohipatel</dc:creator>
      <dc:date>2019-04-08T19:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Datapull from multiple qvds</title>
      <link>https://community.qlik.com/t5/QlikView/Datapull-from-multiple-qvds/m-p/1566616#M743369</link>
      <description>&lt;P&gt;Hi Vegar,&lt;/P&gt;&lt;P&gt;The fields that I have mentioned are just a few of them from my script.&lt;/P&gt;&lt;P&gt;I have around 90 dimension fields which are common in all the 3 qvds&lt;/P&gt;&lt;P&gt;10 amount fields in each of the qvd's. Which I am using in expressions.&lt;/P&gt;&lt;P&gt;If I have to join on all the dimension fields available , it would cause performance issue. Thats why I would like to join based on the 'KEY' field only.&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 19:20:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Datapull-from-multiple-qvds/m-p/1566616#M743369</guid>
      <dc:creator>aarohipatel</dc:creator>
      <dc:date>2019-04-08T19:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Datapull from multiple qvds</title>
      <link>https://community.qlik.com/t5/QlikView/Datapull-from-multiple-qvds/m-p/1566619#M743370</link>
      <description>Do you have semi colons after the loads?&lt;BR /&gt;&lt;BR /&gt;PREM:&lt;BR /&gt;&lt;BR /&gt;Load&lt;BR /&gt;KEY,&lt;BR /&gt;ACCOUNT_NAME,&lt;BR /&gt;ACCOUNT_ADDRESS,&lt;BR /&gt;TECHNICIAN_NAME,&lt;BR /&gt;TECHNICIAN_ADDRESS,&lt;BR /&gt;NUM,&lt;BR /&gt;TERM,&lt;BR /&gt;MONTHLY_PREMIUM&lt;BR /&gt;from PREM.QVD&lt;BR /&gt;;&lt;BR /&gt;Outer Join(PREM)&lt;BR /&gt;Load&lt;BR /&gt;KEY,&lt;BR /&gt;INF_PREMIUM&lt;BR /&gt;from INF.QVD&lt;BR /&gt;;&lt;BR /&gt;Outer Join (PREM)&lt;BR /&gt;Load&lt;BR /&gt;KEY,&lt;BR /&gt;RET_NUM_AMT,&lt;BR /&gt;RET_DEN_AMT&lt;BR /&gt;from RET.QVD;</description>
      <pubDate>Mon, 08 Apr 2019 19:22:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Datapull-from-multiple-qvds/m-p/1566619#M743370</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-04-08T19:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Datapull from multiple qvds</title>
      <link>https://community.qlik.com/t5/QlikView/Datapull-from-multiple-qvds/m-p/1566620#M743371</link>
      <description>Then a join seems like a good approach. Make sure that your Key is unique per row so you don't get duplicated values in your join.&lt;BR /&gt;&lt;BR /&gt;A comment on your last script posting, you are joining on PREM and it looks like you are missing semicolons between your loads.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Apr 2019 19:26:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Datapull-from-multiple-qvds/m-p/1566620#M743371</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-04-08T19:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Datapull from multiple qvds</title>
      <link>https://community.qlik.com/t5/QlikView/Datapull-from-multiple-qvds/m-p/1567260#M743372</link>
      <description>&lt;P&gt;Yes&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 23:28:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Datapull-from-multiple-qvds/m-p/1567260#M743372</guid>
      <dc:creator>aarohipatel</dc:creator>
      <dc:date>2019-04-09T23:28:03Z</dc:date>
    </item>
  </channel>
</rss>

