<?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: Load if in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-if/m-p/384413#M1166556</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hehe, nice that you have a working solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when there are a lot of records in your database where paymentReceived = NULL, then this is not the most optimal solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SQL Select-part you currently use loads ALL records from that table from the database... and in the load .... Where part, you filter by isnull(paymentReceived)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would prefer to have the Where-clause in the SQL select part for that reason.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Sep 2012 07:43:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-09-06T07:43:45Z</dc:date>
    <item>
      <title>Load if</title>
      <link>https://community.qlik.com/t5/QlikView/Load-if/m-p/384407#M1166550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys - new to QlikView! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an access database with the following files:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Company name, payment due, payment received&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to load only those who have an empty value in the 'payment received' column. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried a number of solutions including &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SELECT *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM `DATABASE.mdb`.`Company info`;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;where [payment received] IsNull;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having no luck. Can anyone help me? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 11:15:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-if/m-p/384407#M1166550</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-05T11:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Load if</title>
      <link>https://community.qlik.com/t5/QlikView/Load-if/m-p/384408#M1166551</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;You could do this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM 'Company info' where isnull([payment received);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And also a question (when this happen to be not the answer): does your SQL query work _without_ that isnull filter?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#edit: Updated it (old situation I had not(isnull( paymentReceived)) while you were looking for only those records where that field is null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this should be correct SQL syntax for access. It could be that the values are not NULL but an empty string in the sourcedatabase. Then use the len() function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 21:50:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-if/m-p/384408#M1166551</guid>
      <dc:creator />
      <dc:date>2012-09-05T21:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Load if</title>
      <link>https://community.qlik.com/t5/QlikView/Load-if/m-p/384409#M1166552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear ,&lt;/P&gt;&lt;P&gt;You shoud try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG&gt;SELECT *&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG&gt;FROM `DATABASE.mdb`.`Company info`;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG&gt;where len(trim([payment received] ))=0;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be this work because some time in Field value a space character available&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so that its not return with isnull.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 05:40:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-if/m-p/384409#M1166552</guid>
      <dc:creator />
      <dc:date>2012-09-06T05:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Load if</title>
      <link>https://community.qlik.com/t5/QlikView/Load-if/m-p/384410#M1166553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG&gt;SELECT *&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG&gt;FROM `DATABASE.mdb`.`Company info`;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG&gt;where [payment received] Is Null;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ur format is correct i tink the issue must be of space in bw is null&lt;/P&gt;&lt;P&gt;Hope this could be the reason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 05:40:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-if/m-p/384410#M1166553</guid>
      <dc:creator>rajni_batra</dc:creator>
      <dc:date>2012-09-06T05:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Load if</title>
      <link>https://community.qlik.com/t5/QlikView/Load-if/m-p/384411#M1166554</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;The SELECT statement in SQL SELECT is handed over to the server for execution, so the null check must be in the correct syntax for your database server. If you are using SQL Server, then rani.batra's script should work (don't forget the SQL in front of th SELECT), although I would do away with the backquotes. If you are using another DBMS, then the syntax may vary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 06:30:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-if/m-p/384411#M1166554</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-09-06T06:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: Load if</title>
      <link>https://community.qlik.com/t5/QlikView/Load-if/m-p/384412#M1166555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help guys - i did this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;[Company Name]&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;Isnull([Payment Received]); &lt;/P&gt;&lt;P&gt;SQL Select *&lt;/P&gt;&lt;P&gt;FROM [Database];&lt;/P&gt;&lt;P&gt;Unqualify*;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 07:39:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-if/m-p/384412#M1166555</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-06T07:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Load if</title>
      <link>https://community.qlik.com/t5/QlikView/Load-if/m-p/384413#M1166556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hehe, nice that you have a working solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when there are a lot of records in your database where paymentReceived = NULL, then this is not the most optimal solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SQL Select-part you currently use loads ALL records from that table from the database... and in the load .... Where part, you filter by isnull(paymentReceived)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would prefer to have the Where-clause in the SQL select part for that reason.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 07:43:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-if/m-p/384413#M1166556</guid>
      <dc:creator />
      <dc:date>2012-09-06T07:43:45Z</dc:date>
    </item>
  </channel>
</rss>

