<?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: exists clause in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/exists-clause/m-p/332847#M1170826</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;YES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are mixing SQL with Qlikview’s internal load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPC,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Description;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       UPC,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      Description&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  FROM itemmain ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; // the where should be after all reg where brought by the SQL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPC,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Description&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where not exists(UPC) ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       UPC,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      Description&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM GFIMAIN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Esta mensagem (incluíndo qualquer anexo) é dirigida apenas para o uso do indivíduo ou da entidade a qual está endereçada e pode conter informações privadas, proprietárias, privilegiadas, confidenciais que podem servir como evidências sob as leis aplicáveis ou em processos judiciais.&lt;/P&gt;&lt;P&gt;Caso você não seja o destinatário pretendido, você está aqui notificado que qualquer uso, disseminação, distribuição, ou cópia dessa comunicação é estritamente proibida. Se você recebeu essa comunicação por engano, notifique-nos imediatamente por telefone, e &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/info.png" /&gt; destrua essa mensagem se estiver impressa ou (ii) exclua imediatamente essa mensagem se esta for uma comunicação eletrônica.&lt;/P&gt;&lt;P&gt;Obrigado.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed and may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product.&lt;/P&gt;&lt;P&gt;If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, notify us immediately by telephone and &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/info.png" /&gt; destroy this message if this is printed or (ii) delete this message immediately if this is an electronic communication.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jul 2012 13:54:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-05T13:54:29Z</dc:date>
    <item>
      <title>exists clause</title>
      <link>https://community.qlik.com/t5/QlikView/exists-clause/m-p/332843#M1170822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have one base table A&amp;nbsp; with fields upc ,description.&lt;/P&gt;&lt;P&gt;want to load data from 6 more tables into the&amp;nbsp; table A but only those rows where UPC does not exist in&amp;nbsp; table A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example &lt;/P&gt;&lt;P&gt;table A&lt;/P&gt;&lt;P&gt;UPC,description&lt;/P&gt;&lt;P&gt;123,asd&lt;/P&gt;&lt;P&gt;124,der&lt;/P&gt;&lt;P&gt;129,dsa&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table B&lt;/P&gt;&lt;P&gt;UPC,description&lt;/P&gt;&lt;P&gt;123,asd&lt;/P&gt;&lt;P&gt;333,sss&lt;/P&gt;&lt;P&gt;129,dsa&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table C&lt;/P&gt;&lt;P&gt;UPC,description&lt;/P&gt;&lt;P&gt;123,asd&lt;/P&gt;&lt;P&gt; 999,QQQ&lt;/P&gt;&lt;P&gt;129,dsa&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 20:48:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/exists-clause/m-p/332843#M1170822</guid>
      <dc:creator />
      <dc:date>2012-07-03T20:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: exists clause</title>
      <link>https://community.qlik.com/t5/QlikView/exists-clause/m-p/332844#M1170823</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;First you load the table A, for the next loads you do this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table B&lt;BR /&gt;load * from (...) where not exists(UPC);&lt;/P&gt;&lt;P&gt;table C&lt;BR /&gt;load * from (...) where not exists(UPC);&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Cesar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 20:59:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/exists-clause/m-p/332844#M1170823</guid>
      <dc:creator>cesaraccardi</dc:creator>
      <dc:date>2012-07-03T20:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: exists clause</title>
      <link>https://community.qlik.com/t5/QlikView/exists-clause/m-p/332845#M1170824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The other 5 tables seem to be in the DB or excel files. If it was inside the qvw, they would merge them automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If they are inside other files you could simply use where (like a regular SQL)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM TABLEA;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * &lt;/P&gt;&lt;P&gt;FROM TABLE B&lt;/P&gt;&lt;P&gt;WHERE NOT EXISTS(UPC);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * &lt;/P&gt;&lt;P&gt;FROM TABLE C&lt;/P&gt;&lt;P&gt;WHERE NOT EXISTS(UPC);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and so on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 21:02:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/exists-clause/m-p/332845#M1170824</guid>
      <dc:creator />
      <dc:date>2012-07-03T21:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: exists clause</title>
      <link>https://community.qlik.com/t5/QlikView/exists-clause/m-p/332846#M1170825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ItemTable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;UPC,&lt;/P&gt;&lt;P&gt;Description;&lt;/P&gt;&lt;P&gt;SQL&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UPC,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Description &lt;/P&gt;&lt;P&gt;&amp;nbsp; FROM itemmain ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;UPC,&lt;/P&gt;&lt;P&gt;Description;&lt;/P&gt;&lt;P&gt;SQL&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UPC,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Description &lt;/P&gt;&lt;P&gt;&amp;nbsp; FROM GFIMAIN where not exists(UPC) ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its not working.Am i missing something ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 13:03:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/exists-clause/m-p/332846#M1170825</guid>
      <dc:creator />
      <dc:date>2012-07-05T13:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: exists clause</title>
      <link>https://community.qlik.com/t5/QlikView/exists-clause/m-p/332847#M1170826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;YES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are mixing SQL with Qlikview’s internal load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPC,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Description;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       UPC,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      Description&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  FROM itemmain ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; // the where should be after all reg where brought by the SQL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPC,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Description&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where not exists(UPC) ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       UPC,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      Description&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM GFIMAIN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Esta mensagem (incluíndo qualquer anexo) é dirigida apenas para o uso do indivíduo ou da entidade a qual está endereçada e pode conter informações privadas, proprietárias, privilegiadas, confidenciais que podem servir como evidências sob as leis aplicáveis ou em processos judiciais.&lt;/P&gt;&lt;P&gt;Caso você não seja o destinatário pretendido, você está aqui notificado que qualquer uso, disseminação, distribuição, ou cópia dessa comunicação é estritamente proibida. Se você recebeu essa comunicação por engano, notifique-nos imediatamente por telefone, e &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/info.png" /&gt; destrua essa mensagem se estiver impressa ou (ii) exclua imediatamente essa mensagem se esta for uma comunicação eletrônica.&lt;/P&gt;&lt;P&gt;Obrigado.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed and may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product.&lt;/P&gt;&lt;P&gt;If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, notify us immediately by telephone and &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/info.png" /&gt; destroy this message if this is printed or (ii) delete this message immediately if this is an electronic communication.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 13:54:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/exists-clause/m-p/332847#M1170826</guid>
      <dc:creator />
      <dc:date>2012-07-05T13:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: exists clause</title>
      <link>https://community.qlik.com/t5/QlikView/exists-clause/m-p/332848#M1170827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you.it works!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 15:04:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/exists-clause/m-p/332848#M1170827</guid>
      <dc:creator />
      <dc:date>2012-07-05T15:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: exists clause</title>
      <link>https://community.qlik.com/t5/QlikView/exists-clause/m-p/332849#M1170828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 15:05:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/exists-clause/m-p/332849#M1170828</guid>
      <dc:creator />
      <dc:date>2012-07-05T15:05:12Z</dc:date>
    </item>
  </channel>
</rss>

