<?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: Not exist condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Not-exist-condition/m-p/2078028#M1223928</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/202181"&gt;@YoussefKacem1&lt;/a&gt;&amp;nbsp; try below. Idea is you first need to find the stores which are audited then on next load you can use not exist using that ID&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Data:
LOAD   ID,  
      AuditType , 
      Date ,  
      if(AuditType='Audit1',Store.Code) as Store.Code.Audit,
      Store.Code , 
      Score 
from Source.QVD ;

Left Join(Data)
LOAD distinct Store.Code,
              1 as Flag
Resident Data
where not Exists(Store.Code.Audit,Store.Code);

drop field Store.Code.Audit;&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 30 May 2023 20:51:59 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2023-05-30T20:51:59Z</dc:date>
    <item>
      <title>Not exist condition</title>
      <link>https://community.qlik.com/t5/QlikView/Not-exist-condition/m-p/2077858#M1223924</link>
      <description>&lt;P&gt;Hello everyone ,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have this script :&lt;/P&gt;
&lt;P&gt;Table1:&lt;/P&gt;
&lt;P&gt;LOAD&amp;nbsp; &amp;nbsp;ID,&amp;nbsp; AuditType , Date ,&amp;nbsp; Store.Code , Score&amp;nbsp;&lt;/P&gt;
&lt;P&gt;from Source.QVD&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This script show me the stores that got audited , their score and All sort of audit type (more than 7 types )&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to know the&amp;nbsp;&lt;SPAN&gt;UnauditedStores&amp;nbsp;&amp;nbsp;&lt;BR /&gt;I tried this&amp;nbsp; script but without result&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Load Store.Code , 1 as FLAG&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Resident Table1&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;where AuditType = 'Audit1'&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;and not exists (Store.Code)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you in advance!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 14:10:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-exist-condition/m-p/2077858#M1223924</guid>
      <dc:creator>YoussefKacem1</dc:creator>
      <dc:date>2023-05-30T14:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Not exist condition</title>
      <link>https://community.qlik.com/t5/QlikView/Not-exist-condition/m-p/2078028#M1223928</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/202181"&gt;@YoussefKacem1&lt;/a&gt;&amp;nbsp; try below. Idea is you first need to find the stores which are audited then on next load you can use not exist using that ID&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Data:
LOAD   ID,  
      AuditType , 
      Date ,  
      if(AuditType='Audit1',Store.Code) as Store.Code.Audit,
      Store.Code , 
      Score 
from Source.QVD ;

Left Join(Data)
LOAD distinct Store.Code,
              1 as Flag
Resident Data
where not Exists(Store.Code.Audit,Store.Code);

drop field Store.Code.Audit;&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 30 May 2023 20:51:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-exist-condition/m-p/2078028#M1223928</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2023-05-30T20:51:59Z</dc:date>
    </item>
  </channel>
</rss>

