<?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 Qlik Sense Data Load Syntax Help - 'Where in' Clause + Select Subquery + Logical operator in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Data-Load-Syntax-Help-Where-in-Clause-Select-Subquery/m-p/1429289#M34202</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 looking to load the data in Qlik Sense using a where clause from multiple temp tables that are loaded in the same code. Below is sample Psuedo code that looking to implement. Please suggest the right syntax and other better ways to load the data. Thanks a lot in advance for the help!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sample Code&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Table1:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM [lib://masterdata.qvd];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Vendor:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;LOAD "Vendor Name"&lt;/P&gt;&lt;P&gt;FROM [lib://vendordata.xls];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;CostCenter:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;LOAD "Cost Center ID"&lt;/P&gt;&lt;P&gt;FROM [lib://costcenterdata.xls];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;/// Need help with the syntax for the below code ////&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Table 2:&lt;/P&gt;&lt;P&gt;Load * Resident Table 1&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;where exists&lt;/STRONG&gt; (select [Vendor Name] from Resident Vendor) &lt;STRONG&gt;OR&lt;/STRONG&gt; &lt;STRONG&gt;exists&lt;/STRONG&gt; (select [Cost Center ID] from Resident CostCenter );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table Table1,Vendor, CostCenter;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rajesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Nov 2017 14:51:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-11-07T14:51:14Z</dc:date>
    <item>
      <title>Qlik Sense Data Load Syntax Help - 'Where in' Clause + Select Subquery + Logical operator</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Data-Load-Syntax-Help-Where-in-Clause-Select-Subquery/m-p/1429289#M34202</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 looking to load the data in Qlik Sense using a where clause from multiple temp tables that are loaded in the same code. Below is sample Psuedo code that looking to implement. Please suggest the right syntax and other better ways to load the data. Thanks a lot in advance for the help!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sample Code&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Table1:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM [lib://masterdata.qvd];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Vendor:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;LOAD "Vendor Name"&lt;/P&gt;&lt;P&gt;FROM [lib://vendordata.xls];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;CostCenter:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;LOAD "Cost Center ID"&lt;/P&gt;&lt;P&gt;FROM [lib://costcenterdata.xls];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;/// Need help with the syntax for the below code ////&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Table 2:&lt;/P&gt;&lt;P&gt;Load * Resident Table 1&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;where exists&lt;/STRONG&gt; (select [Vendor Name] from Resident Vendor) &lt;STRONG&gt;OR&lt;/STRONG&gt; &lt;STRONG&gt;exists&lt;/STRONG&gt; (select [Cost Center ID] from Resident CostCenter );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table Table1,Vendor, CostCenter;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rajesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2017 14:51:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Data-Load-Syntax-Help-Where-in-Clause-Select-Subquery/m-p/1429289#M34202</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-07T14:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Data Load Syntax Help - 'Where in' Clause + Select Subquery + Logical operator</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Data-Load-Syntax-Help-Where-in-Clause-Select-Subquery/m-p/1573460#M41787</link>
      <description>&lt;P&gt;This is a bit old, in case someone needs the answer:&lt;/P&gt;&lt;PRE&gt;//get vendors
Vendor:
LOAD "Vendor Name"
FROM [lib://vendordata.xls];

//get cost centers
CostCenter:
LOAD "Cost Center ID"
FROM [lib://costcenterdata.xls];

//load data with valid vendors and cost centers already loaded
Table1:
LOAD *
FROM [lib://masterdata.qvd];
where exists ([Vendor Name]) 
OR exists ([Cost Center ID]);&lt;/PRE&gt;&lt;P&gt;This assumes the fields Vendor Name and Cost Center ID are in masterdata and have the same field name.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2019 17:53:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Data-Load-Syntax-Help-Where-in-Clause-Select-Subquery/m-p/1573460#M41787</guid>
      <dc:creator>dwforest</dc:creator>
      <dc:date>2019-04-25T17:53:12Z</dc:date>
    </item>
  </channel>
</rss>

