<?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: Exclude multiple values in a field using load script where clause in qliksense (Data source: Hiv in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Exclude-multiple-values-in-a-field-using-load-script-where/m-p/1623790#M46451</link>
    <description>&lt;P&gt;Vegar's reply is best; if you want to keep the syntax in Qlik language you will need to use the Query4 syntax (or your syntax from Query 1):&lt;/P&gt;&lt;P&gt;Load *&lt;/P&gt;&lt;P&gt;Where not match(field,'value1','value2');&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SQL SELECT *&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FROM HIVE.DBName.Table;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This will use a preceding&amp;nbsp;load from the HIVE database; although all rows will be returned to Qlik from the HIVE database. Again, Vegar's response to inject the where clause using native database language is best.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Sep 2019 17:05:49 GMT</pubDate>
    <dc:creator>Pirolli</dc:creator>
    <dc:date>2019-09-13T17:05:49Z</dc:date>
    <item>
      <title>Exclude multiple values in a field using load script where clause in qliksense (Data source: Hive)</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-multiple-values-in-a-field-using-load-script-where/m-p/1623782#M46448</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;I am stuck with a situation where I need to exclude multiple values in load script from a field in Qliksense. I have tried following -&amp;nbsp;&lt;/P&gt;&lt;P&gt;Query 1:&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;BR /&gt;FROM HIVE.DBName.Table Name where [Field] &amp;lt;&amp;gt; 'value1' or&amp;nbsp;[Field] &amp;lt;&amp;gt; 'value2' or&amp;nbsp;[Field] &amp;lt;&amp;gt; 'value3'; I can still see the values after load&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Query 2:&lt;BR /&gt;SQL SELECT *&lt;BR /&gt;FROM HIVE.DBName.Table Name where [Field] != 'value1' or&amp;nbsp;[Field] != 'value2' or&amp;nbsp;[Field] != 'value3';&lt;/DIV&gt;&lt;DIV&gt;I can still see the values after load&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Query 3:&lt;BR /&gt;SQL SELECT *&lt;BR /&gt;FROM HIVE.DBName.Table Name where [Field] != 'value1';&lt;/DIV&gt;&lt;DIV&gt;Works if I use only 1 value&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Query 4:&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;SQL SELECT *&lt;BR /&gt;FROM HIVE.DBName.TableName&amp;nbsp; Where not&amp;nbsp; match([Field],'Value1','Value2','Value3');&lt;/DIV&gt;&lt;DIV&gt;error syntax match not found&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Any suggestions here or workaround how this can be achieved?&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 13 Sep 2019 16:29:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-multiple-values-in-a-field-using-load-script-where/m-p/1623782#M46448</guid>
      <dc:creator>adarshiyerck</dc:creator>
      <dc:date>2019-09-13T16:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude multiple values in a field using load script where clause in qliksense (Data source: Hiv</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-multiple-values-in-a-field-using-load-script-where/m-p/1623784#M46449</link>
      <description>&lt;P&gt;You need to use SQL query syntax in a SQL SELECT query.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;BR /&gt;FROM&lt;/P&gt;&lt;P&gt;HIVE.DBName.TableName&amp;nbsp;&lt;/P&gt;&lt;P&gt;WHERE Field NOT IN ('Value1','Value2','Value3');&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2019 16:34:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-multiple-values-in-a-field-using-load-script-where/m-p/1623784#M46449</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-09-13T16:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude multiple values in a field using load script where clause in qliksense (Data source: Hiv</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-multiple-values-in-a-field-using-load-script-where/m-p/1623789#M46450</link>
      <description>&lt;P&gt;Hello Vegar,&lt;/P&gt;&lt;P&gt;This solution works, can I extend this condition by adding 'and' date&amp;gt;=20190101; further?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2019 17:03:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-multiple-values-in-a-field-using-load-script-where/m-p/1623789#M46450</guid>
      <dc:creator>adarshiyerck</dc:creator>
      <dc:date>2019-09-13T17:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude multiple values in a field using load script where clause in qliksense (Data source: Hiv</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-multiple-values-in-a-field-using-load-script-where/m-p/1623790#M46451</link>
      <description>&lt;P&gt;Vegar's reply is best; if you want to keep the syntax in Qlik language you will need to use the Query4 syntax (or your syntax from Query 1):&lt;/P&gt;&lt;P&gt;Load *&lt;/P&gt;&lt;P&gt;Where not match(field,'value1','value2');&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SQL SELECT *&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FROM HIVE.DBName.Table;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This will use a preceding&amp;nbsp;load from the HIVE database; although all rows will be returned to Qlik from the HIVE database. Again, Vegar's response to inject the where clause using native database language is best.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2019 17:05:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-multiple-values-in-a-field-using-load-script-where/m-p/1623790#M46451</guid>
      <dc:creator>Pirolli</dc:creator>
      <dc:date>2019-09-13T17:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude multiple values in a field using load script where clause in qliksense (Data source: Hiv</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-multiple-values-in-a-field-using-load-script-where/m-p/1623791#M46452</link>
      <description>&lt;P&gt;Hello Pirolli,&lt;/P&gt;&lt;P&gt;Yes this helps too. Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2019 17:11:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-multiple-values-in-a-field-using-load-script-where/m-p/1623791#M46452</guid>
      <dc:creator>adarshiyerck</dc:creator>
      <dc:date>2019-09-13T17:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude multiple values in a field using load script where clause in qliksense (Data source: Hiv</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-multiple-values-in-a-field-using-load-script-where/m-p/1623792#M46453</link>
      <description>&lt;P&gt;Any thoughts on this&lt;/P&gt;&lt;P&gt;nesting another condition in where clause after excluding values filter using date field&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2019 17:16:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-multiple-values-in-a-field-using-load-script-where/m-p/1623792#M46453</guid>
      <dc:creator>adarshiyerck</dc:creator>
      <dc:date>2019-09-13T17:16:03Z</dc:date>
    </item>
  </channel>
</rss>

