<?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: Excluding range of values in a script statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Excluding-range-of-values-in-a-script-statement/m-p/1346760#M841260</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try creating a flag for those values and excluding them using a precedent load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TableName:&lt;/P&gt;&lt;P&gt;Load *&lt;/P&gt;&lt;P&gt;where &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;_flagExcludePrindiag&lt;/SPAN&gt; = 0;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load *,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(prindiag &amp;gt; 617 and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;prindiag &lt;/SPAN&gt;&amp;lt; 680,1,0) _flagExcludePrindiag&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;From [Filename]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Where Not Match (faclnbr, '12001') ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;Carlos M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 May 2017 18:42:23 GMT</pubDate>
    <dc:creator>CarlosAMonroy</dc:creator>
    <dc:date>2017-05-01T18:42:23Z</dc:date>
    <item>
      <title>Excluding range of values in a script statement</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-range-of-values-in-a-script-statement/m-p/1346757#M841257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In my script I have a range of values that I want to exclude. I'm familiar with using the Match function to include or exclude certain values, but not sure how to use it for a &lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;range (or set)&lt;/EM&gt;&lt;/SPAN&gt; of values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So for the field named "prindiag" I am trying to exclude all values between 617 and 679.99.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *&lt;/P&gt;&lt;P&gt;From [Filename]&lt;/P&gt;&lt;P&gt;Where Not Match (faclnbr, '12001') And &lt;STRONG&gt;Where Not Match (prindiag, ???)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess I'm looking for the Qlikview equivalent of a SQL "between" operator and have searched the community but haven't quite found what I'm looking for (outside of set analyses).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please advise?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-range-of-values-in-a-script-statement/m-p/1346757#M841257</guid>
      <dc:creator>jchambers123</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding range of values in a script statement</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-range-of-values-in-a-script-statement/m-p/1346758#M841258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are these numeric Values? May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where Not Match(faclnbr, '12001') and (prindiag &amp;lt; 617 or prindiag &amp;gt; 679.99);&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 May 2017 18:29:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-range-of-values-in-a-script-statement/m-p/1346758#M841258</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-05-01T18:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding range of values in a script statement</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-range-of-values-in-a-script-statement/m-p/1346759#M841259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use numeric comparison operators:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load *&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;From [Filename]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Where Not Match (faclnbr, '12001') And &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Not (prindiag &amp;gt;=617 and prindiag &amp;lt;= 679.99);&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 May 2017 18:31:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-range-of-values-in-a-script-statement/m-p/1346759#M841259</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-05-01T18:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding range of values in a script statement</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-range-of-values-in-a-script-statement/m-p/1346760#M841260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try creating a flag for those values and excluding them using a precedent load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TableName:&lt;/P&gt;&lt;P&gt;Load *&lt;/P&gt;&lt;P&gt;where &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;_flagExcludePrindiag&lt;/SPAN&gt; = 0;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load *,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(prindiag &amp;gt; 617 and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;prindiag &lt;/SPAN&gt;&amp;lt; 680,1,0) _flagExcludePrindiag&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;From [Filename]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Where Not Match (faclnbr, '12001') ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;Carlos M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 May 2017 18:42:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-range-of-values-in-a-script-statement/m-p/1346760#M841260</guid>
      <dc:creator>CarlosAMonroy</dc:creator>
      <dc:date>2017-05-01T18:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding range of values in a script statement</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-range-of-values-in-a-script-statement/m-p/1346761#M841261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all. I used the &amp;lt;= and &amp;gt;= operators, as Sunny and Stefan suggested, and it worked perfectly. I appreciate the three of you taking the time to help and advise-- much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2017 12:38:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-range-of-values-in-a-script-statement/m-p/1346761#M841261</guid>
      <dc:creator>jchambers123</dc:creator>
      <dc:date>2017-05-02T12:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding range of values in a script statement</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-range-of-values-in-a-script-statement/m-p/1346762#M841262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the if statement for the "flag", it works for me when it is for a range like your example, but how do I do if I have two ranges ??? I've tried something like that but it does not work for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(&amp;nbsp;&amp;nbsp; (prindiag &amp;gt; 617 and &lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;prindiag &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;lt; 680) and&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(prindiag &amp;gt; 800 and &lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;prindiag &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;lt; 900) &lt;/SPAN&gt;&amp;nbsp; ,1,0) _flagExcludePrindiag&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 14:53:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-range-of-values-in-a-script-statement/m-p/1346762#M841262</guid>
      <dc:creator>jose_vargas</dc:creator>
      <dc:date>2018-03-23T14:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding range of values in a script statement</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-range-of-values-in-a-script-statement/m-p/1346763#M841263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using AND logic to combine the two ranges can't work.&lt;/P&gt;&lt;P&gt;You probably want an OR logic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 19:57:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-range-of-values-in-a-script-statement/m-p/1346763#M841263</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2018-03-23T19:57:37Z</dc:date>
    </item>
  </channel>
</rss>

