<?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 problem &amp;quot;where not&amp;quot; statement sql in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/problem-quot-where-not-quot-statement-sql/m-p/187836#M51357</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried the same splitted where conditions with sample data ,it worked perfectly for me. Probably can you recheck your data again. But the splitted where conditions is correct.&lt;/P&gt;&lt;P&gt;Pls post the sample data if the issue is not resolved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Jan 2011 07:37:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-01-27T07:37:19Z</dc:date>
    <item>
      <title>problem "where not" statement sql</title>
      <link>https://community.qlik.com/t5/QlikView/problem-quot-where-not-quot-statement-sql/m-p/187835#M51356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm writing a very simple query, which unexpectedly is giving me headache:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate (Temp) load * from '$(ArchiveFile)' (qvd)&lt;/P&gt;&lt;P&gt;where not (YearQtr = '$(LoadQtr)' and Scenario = '$(LoadScenario)')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I expected NOT to see only those records, which satisfy both conditions of there where statement. But as a result I see nothing at all. Tried trimming the variables, but to no avail.&lt;/P&gt;&lt;P&gt;To narrow down the problem, the following two "where" statements give me different results. Why?&lt;/P&gt;&lt;P&gt;1) where not (YearQtr = '$(LoadQtr)')&lt;/P&gt;&lt;P&gt;2) where YearQtr &amp;lt;&amp;gt; '$(LoadQtr)'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2011 07:09:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-quot-where-not-quot-statement-sql/m-p/187835#M51356</guid>
      <dc:creator />
      <dc:date>2011-01-27T07:09:20Z</dc:date>
    </item>
    <item>
      <title>problem "where not" statement sql</title>
      <link>https://community.qlik.com/t5/QlikView/problem-quot-where-not-quot-statement-sql/m-p/187836#M51357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried the same splitted where conditions with sample data ,it worked perfectly for me. Probably can you recheck your data again. But the splitted where conditions is correct.&lt;/P&gt;&lt;P&gt;Pls post the sample data if the issue is not resolved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2011 07:37:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-quot-where-not-quot-statement-sql/m-p/187836#M51357</guid>
      <dc:creator />
      <dc:date>2011-01-27T07:37:19Z</dc:date>
    </item>
  </channel>
</rss>

