<?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 EXISTS problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/EXISTS-problem/m-p/303427#M1193194</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have multiple rows in TableA with the same 'Short Date of exam', you may not get the result you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is only one row for each 'Short Date of exam' in TableA, you may use the script given below to load TableB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempTable:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;SQL&lt;/STRONG&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; SELECT *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;FROM `S:\Imaging - Data Repository\Look up tables\M_Calendar\Calendar LUT.accdb`.`M_Calendar`;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TableB:&lt;/P&gt;&lt;P&gt;LOAD 'Short Date of exam' as DateActual Resident TableA;&lt;/P&gt;&lt;P&gt;Left Join (TableB) LOAD * Resident TempTable;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Jun 2011 17:33:00 GMT</pubDate>
    <dc:creator>nagaiank</dc:creator>
    <dc:date>2011-06-20T17:33:00Z</dc:date>
    <item>
      <title>EXISTS problem</title>
      <link>https://community.qlik.com/t5/QlikView/EXISTS-problem/m-p/303426#M1193193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to only load records from&amp;nbsp; Table B only if they exists in Table A. I am pretty sure i want to be using Where Exists but I can not seem to get it correct&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;TableA:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;LOAD&lt;/STRONG&gt; &lt;SPAN style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;`Master Imaging Data ID`&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;`Short Date of exam`&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;SQL&lt;/STRONG&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; SELECT *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;FROM `S:\Imaging - Data Repository\Imaging DR Summary Table.accdb`.`Tbl_ Imaging Data For Analysis`;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;//Load Calendar&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;TableB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;LOAD&lt;/STRONG&gt; &lt;SPAN style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;DateActual&lt;/SPAN&gt; &lt;SPAN style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt;[Short Date of exam]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;SQL&lt;/STRONG&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; SELECT *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;FROM `S:\Imaging - Data Repository\Look up tables\M_Calendar\Calendar LUT.accdb`.`M_Calendar`&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;WHERE EXISTS(DateActual,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: maroon; font-family: 'Courier New';"&gt; `Short Date of exam`&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;); &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2011 17:13:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/EXISTS-problem/m-p/303426#M1193193</guid>
      <dc:creator />
      <dc:date>2011-06-20T17:13:28Z</dc:date>
    </item>
    <item>
      <title>EXISTS problem</title>
      <link>https://community.qlik.com/t5/QlikView/EXISTS-problem/m-p/303427#M1193194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have multiple rows in TableA with the same 'Short Date of exam', you may not get the result you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is only one row for each 'Short Date of exam' in TableA, you may use the script given below to load TableB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempTable:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 9pt; color: blue; font-family: 'Courier New';"&gt;SQL&lt;/STRONG&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; SELECT *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;FROM `S:\Imaging - Data Repository\Look up tables\M_Calendar\Calendar LUT.accdb`.`M_Calendar`;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TableB:&lt;/P&gt;&lt;P&gt;LOAD 'Short Date of exam' as DateActual Resident TableA;&lt;/P&gt;&lt;P&gt;Left Join (TableB) LOAD * Resident TempTable;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2011 17:33:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/EXISTS-problem/m-p/303427#M1193194</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2011-06-20T17:33:00Z</dc:date>
    </item>
    <item>
      <title>EXISTS problem</title>
      <link>https://community.qlik.com/t5/QlikView/EXISTS-problem/m-p/303428#M1193195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; table A has multiple values that are the same unfortunatley. thanks for your help tough.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2011 17:39:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/EXISTS-problem/m-p/303428#M1193195</guid>
      <dc:creator />
      <dc:date>2011-06-20T17:39:53Z</dc:date>
    </item>
  </channel>
</rss>

