<?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 Help with NOT Exists in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-NOT-Exists/m-p/1703515#M724775</link>
    <description>&lt;P&gt;My logic is not working.&amp;nbsp; I am not sure why&lt;/P&gt;&lt;P&gt;What I am expecting to see is 2 records in the autopay table, but I am only seeing 1 (from the currentrecord table)&amp;nbsp; I am trying to use AutoKey and the value to compare against.&lt;/P&gt;&lt;P&gt;AutoPayCustomersDB:&lt;BR /&gt;LOAD&lt;BR /&gt;1 as t&lt;BR /&gt;,LastCustKey&lt;BR /&gt;,RecDate&lt;BR /&gt;,AutoKey&lt;BR /&gt;,CustKey&lt;BR /&gt;,PKID&lt;BR /&gt;,UnitsID&lt;BR /&gt;,CustomerID&lt;BR /&gt;,DateStart&lt;BR /&gt;,DateEnd&lt;BR /&gt;,AutoPay&lt;BR /&gt;,AutoPayID&lt;BR /&gt;,AutoPayInfo&lt;BR /&gt;,CSRentalID&lt;BR /&gt;,AutopayON&lt;BR /&gt;,AutopayOFF&lt;BR /&gt;Resident CurrentRecord;&lt;/P&gt;&lt;P&gt;Concatenate (AutoPayCustomersDB)&lt;BR /&gt;Load *&lt;BR /&gt;Where NOT ( Exists(AutoKey, AutoKey))&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;Load&lt;BR /&gt;'$(vDate)' as RecDate&lt;BR /&gt;,CustomerID&amp;amp;UnitsID&amp;amp;'-'&amp;amp;fabs(AutoPay) as AutoKey&lt;BR /&gt;,AutoPay&lt;BR /&gt;,if (AutoPay = -1, 1,0) as AutopayON&lt;BR /&gt;,if (AutoPay &amp;lt;&amp;gt; -1, 1,0) as AutopayOFF&lt;BR /&gt;,CustomerID&amp;amp;UnitsID as CustKey&lt;BR /&gt;,CustomerID&amp;amp;UnitsID&amp;amp;'-'&amp;amp;'$(vDateNum)' as LastCustKey&lt;BR /&gt;,PKID&lt;BR /&gt;,UnitsID&lt;BR /&gt;,CustomerID&lt;BR /&gt;,DateStart&lt;BR /&gt;,DateEnd&lt;BR /&gt;,AutoPayID&lt;BR /&gt;,AutoPayInfo&lt;BR /&gt;,CSRentalID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 00:38:41 GMT</pubDate>
    <dc:creator>FrankC</dc:creator>
    <dc:date>2024-11-16T00:38:41Z</dc:date>
    <item>
      <title>Help with NOT Exists</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-NOT-Exists/m-p/1703515#M724775</link>
      <description>&lt;P&gt;My logic is not working.&amp;nbsp; I am not sure why&lt;/P&gt;&lt;P&gt;What I am expecting to see is 2 records in the autopay table, but I am only seeing 1 (from the currentrecord table)&amp;nbsp; I am trying to use AutoKey and the value to compare against.&lt;/P&gt;&lt;P&gt;AutoPayCustomersDB:&lt;BR /&gt;LOAD&lt;BR /&gt;1 as t&lt;BR /&gt;,LastCustKey&lt;BR /&gt;,RecDate&lt;BR /&gt;,AutoKey&lt;BR /&gt;,CustKey&lt;BR /&gt;,PKID&lt;BR /&gt;,UnitsID&lt;BR /&gt;,CustomerID&lt;BR /&gt;,DateStart&lt;BR /&gt;,DateEnd&lt;BR /&gt;,AutoPay&lt;BR /&gt;,AutoPayID&lt;BR /&gt;,AutoPayInfo&lt;BR /&gt;,CSRentalID&lt;BR /&gt;,AutopayON&lt;BR /&gt;,AutopayOFF&lt;BR /&gt;Resident CurrentRecord;&lt;/P&gt;&lt;P&gt;Concatenate (AutoPayCustomersDB)&lt;BR /&gt;Load *&lt;BR /&gt;Where NOT ( Exists(AutoKey, AutoKey))&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;Load&lt;BR /&gt;'$(vDate)' as RecDate&lt;BR /&gt;,CustomerID&amp;amp;UnitsID&amp;amp;'-'&amp;amp;fabs(AutoPay) as AutoKey&lt;BR /&gt;,AutoPay&lt;BR /&gt;,if (AutoPay = -1, 1,0) as AutopayON&lt;BR /&gt;,if (AutoPay &amp;lt;&amp;gt; -1, 1,0) as AutopayOFF&lt;BR /&gt;,CustomerID&amp;amp;UnitsID as CustKey&lt;BR /&gt;,CustomerID&amp;amp;UnitsID&amp;amp;'-'&amp;amp;'$(vDateNum)' as LastCustKey&lt;BR /&gt;,PKID&lt;BR /&gt;,UnitsID&lt;BR /&gt;,CustomerID&lt;BR /&gt;,DateStart&lt;BR /&gt;,DateEnd&lt;BR /&gt;,AutoPayID&lt;BR /&gt;,AutoPayInfo&lt;BR /&gt;,CSRentalID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:38:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-NOT-Exists/m-p/1703515#M724775</guid>
      <dc:creator>FrankC</dc:creator>
      <dc:date>2024-11-16T00:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Help with NOT Exists</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-NOT-Exists/m-p/1703537#M724776</link>
      <description>&lt;LI-CODE lang="markup"&gt;Where NOT ( Exists(AutoKey, AutoKey))&lt;/LI-CODE&gt;&lt;P&gt;If you use the above code, it eliminate the duplicate population of the row for AutoKey. If there are two rows with same AutoKey, only the first loaded will be there.&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 17:34:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-NOT-Exists/m-p/1703537#M724776</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-05-19T17:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Help with NOT Exists</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-NOT-Exists/m-p/1703539#M724777</link>
      <description>&lt;P&gt;I have the not exist logic, but it is not getting any new rows. And I know that there should be&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 17:40:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-NOT-Exists/m-p/1703539#M724777</guid>
      <dc:creator>FrankC</dc:creator>
      <dc:date>2020-05-19T17:40:05Z</dc:date>
    </item>
  </channel>
</rss>

