<?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: Optimizing the load from 4 load statements with where exists clause in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Optimizing-the-load-from-4-load-statements-with-where-exists/m-p/1588803#M43147</link>
    <description>&lt;P&gt;Using the example of linking Opp_LI to Product:&lt;/P&gt;&lt;P&gt;Inner Join (Opp_LI)&lt;/P&gt;&lt;P&gt;Load Distinct Product_ID_Key Resident Product_Data;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using Keep instead of Join may give you other options worth considering.&lt;/P&gt;</description>
    <pubDate>Thu, 06 Jun 2019 03:24:42 GMT</pubDate>
    <dc:creator>rogerpegler</dc:creator>
    <dc:date>2019-06-06T03:24:42Z</dc:date>
    <item>
      <title>Optimizing the load from 4 load statements with where exists clause</title>
      <link>https://community.qlik.com/t5/App-Development/Optimizing-the-load-from-4-load-statements-with-where-exists/m-p/1588638#M43126</link>
      <description>&lt;P&gt;Hi Guys,&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I have four load scripts set up like this,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Product_load_Filter:
Load * Inline
[Product_Movex_Part_Number
XRT 0003,
XRT 0013,
XRT 0402,
XRT 0412,
XRT 0511];

Product_Data:
LOAD
    Product_Id_Key,
    Product_URL,
    Product_Name,
    Product_ProductCode,
    Product_Description
    FROM [lib://CLM/REP_Product2.qvd]
(qvd)
where Exists(Product_Movex_Part_Number);

Opp_LI:
LOAD
    OPP_LI_Id_Key,
    OPP_LI_URL,
    OPP_LI_Product_Id_Key as Product_Id_Key,
    OPP_LI_Quantity
    FROM [lib://CLM/REP_Opportunity_Line_Item.qvd]
(qvd);

OPP_load_Filter:
Load * Inline
[Opportunity_StageName,
Qualified,
Proposal,
Negotiation,
Order Won
];

Opp:
LOAD
    Opportunity_Id_Key as OPP_LI_Opportunity_Id_Key,
    Opportunity_URL,
    Opportunity_Close_Date,
    Opportunity_Booking_Date,
     Opportunity_Territory_Id_Key,
    Opportunity_Created_Date
    FROM [lib://CLM/REP_Opportunity.qvd]
(qvd)
where Exists(Opportunity_StageName);

Quote:
LOAD
    Quote_Id_Key as Opportunity_Quote_Id,
    Quote_BM_Description
    FROM [lib://CLM/REP_BM_Quote.qvd]
(qvd);
drop table Product_load_Filter,OPP_load_Filter;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The challenge i am facing is getting the linking correct and optimized.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to try and achieve the following.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Opp_Li linked to Product where the product ID key exists.&lt;/P&gt;&lt;P&gt;Opp Linked to Opp_Li where&amp;nbsp;OPP_LI_Opportunity_Id_Key&amp;nbsp; exists.&lt;/P&gt;&lt;P&gt;Quote linked to Opp where&amp;nbsp;Opportunity_Quote_Id exists.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any Help is greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:43:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Optimizing-the-load-from-4-load-statements-with-where-exists/m-p/1588638#M43126</guid>
      <dc:creator>mikegauntlett</dc:creator>
      <dc:date>2024-11-16T20:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: Optimizing the load from 4 load statements with where exists clause</title>
      <link>https://community.qlik.com/t5/App-Development/Optimizing-the-load-from-4-load-statements-with-where-exists/m-p/1588803#M43147</link>
      <description>&lt;P&gt;Using the example of linking Opp_LI to Product:&lt;/P&gt;&lt;P&gt;Inner Join (Opp_LI)&lt;/P&gt;&lt;P&gt;Load Distinct Product_ID_Key Resident Product_Data;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using Keep instead of Join may give you other options worth considering.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 03:24:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Optimizing-the-load-from-4-load-statements-with-where-exists/m-p/1588803#M43147</guid>
      <dc:creator>rogerpegler</dc:creator>
      <dc:date>2019-06-06T03:24:42Z</dc:date>
    </item>
  </channel>
</rss>

