<?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: operator precedence in qlikview load script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/operator-precedence-in-qlikview-load-script/m-p/1342992#M413540</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would probably do it in multiple loads and concatenate them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load *&lt;/P&gt;&lt;P&gt;from XXXX&lt;/P&gt;&lt;P&gt;where Country='US' and not match(Channel,'Pharma') and match(Product,'c') and Date&amp;gt;='20170701';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;load *&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;from XXXX&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;where Country='US' and match(Channel,'Pharma') and not match(Product,'c') &lt;SPAN style="font-size: 13.3333px;"&gt;and Date&amp;gt;='20170701'&lt;/SPAN&gt;;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;concatenate&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;load *&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;from XXXX&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;where Country='US' and not match(Channel,'Pharma') and not match(Product,'c') &lt;SPAN style="font-size: 13.3333px;"&gt;and Date&amp;gt;='20170701'&lt;/SPAN&gt;;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;concatenate&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;load *&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;from XXXX&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;where Country='US' and not match(Channel,'Pharma') and not match(Product,'c') &lt;SPAN style="font-size: 13.3333px;"&gt;and Date&amp;lt;'20170701'&lt;/SPAN&gt;;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;concatenate&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;load *&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;from XXXX&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;where Country='US' and &lt;SPAN style="font-size: 13.3333px;"&gt;Date&amp;lt;'20170701'&lt;/SPAN&gt;;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;To put it all in one you would probably need something like:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;load *&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;from XXXX&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;where (Country='US' and not match(Channel,'Pharma') and match(Product,'c') and Date&amp;gt;='20170701') OR&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;SPAN style="font-size: 13.3333px;"&gt;Country='US' and match(Channel,'Pharma') and not match(Product,'c') &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;and Date&amp;gt;='20170701') OR&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Country='US' and not match(Channel,'Pharma') and not match(Product,'c') &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;and Date&amp;gt;='20170701') OR&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Country='US' and not match(Channel,'Pharma') and not match(Product,'c') &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;and Date&amp;lt;'20170701');&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Jun 2017 17:10:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-06-22T17:10:35Z</dc:date>
    <item>
      <title>operator precedence in qlikview load script</title>
      <link>https://community.qlik.com/t5/QlikView/operator-precedence-in-qlikview-load-script/m-p/1342990#M413538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have requirement to eliminate some data based on&amp;nbsp; filter criteria in load script. for example while loading data using load script&lt;/P&gt;&lt;P&gt;Product: a, b, c, d, e&lt;/P&gt;&lt;P&gt;channel :hsp, mules, pharma&lt;/P&gt;&lt;P&gt;country: us&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to load all data for all products and all type of channels till end of June for us. from July month I need load all data for all product ,and I need to exclude data that have product c, channel pharma from july.but I need to load the data product c wich have channel hsp and mules and all data till june.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written logic in where condition like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load * from&lt;/P&gt;&lt;P&gt;XXXX&lt;/P&gt;&lt;P&gt;where &lt;STRONG&gt;(country=us and (and channel &amp;lt;&amp;gt;'pharma' and date &amp;lt;'20170701' and mot match(product, 'c')))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;by using above&amp;nbsp; expression it is excluding all data belongs to channel &lt;STRONG&gt;pharma&lt;/STRONG&gt;, product &lt;STRONG&gt;c and &lt;/STRONG&gt;not fetching any data for july irrespective of precedence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to eliminate only data that satisfies the&amp;nbsp; 3 filter criteria i.e product c, channel pharma whose dat is in july&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 13:08:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/operator-precedence-in-qlikview-load-script/m-p/1342990#M413538</guid>
      <dc:creator />
      <dc:date>2017-06-22T13:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: operator precedence in qlikview load script</title>
      <link>https://community.qlik.com/t5/QlikView/operator-precedence-in-qlikview-load-script/m-p/1342991#M413539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share few rows of data to test this out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 16:39:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/operator-precedence-in-qlikview-load-script/m-p/1342991#M413539</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-22T16:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: operator precedence in qlikview load script</title>
      <link>https://community.qlik.com/t5/QlikView/operator-precedence-in-qlikview-load-script/m-p/1342992#M413540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would probably do it in multiple loads and concatenate them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load *&lt;/P&gt;&lt;P&gt;from XXXX&lt;/P&gt;&lt;P&gt;where Country='US' and not match(Channel,'Pharma') and match(Product,'c') and Date&amp;gt;='20170701';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;load *&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;from XXXX&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;where Country='US' and match(Channel,'Pharma') and not match(Product,'c') &lt;SPAN style="font-size: 13.3333px;"&gt;and Date&amp;gt;='20170701'&lt;/SPAN&gt;;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;concatenate&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;load *&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;from XXXX&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;where Country='US' and not match(Channel,'Pharma') and not match(Product,'c') &lt;SPAN style="font-size: 13.3333px;"&gt;and Date&amp;gt;='20170701'&lt;/SPAN&gt;;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;concatenate&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;load *&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;from XXXX&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;where Country='US' and not match(Channel,'Pharma') and not match(Product,'c') &lt;SPAN style="font-size: 13.3333px;"&gt;and Date&amp;lt;'20170701'&lt;/SPAN&gt;;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;concatenate&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;load *&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;from XXXX&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;where Country='US' and &lt;SPAN style="font-size: 13.3333px;"&gt;Date&amp;lt;'20170701'&lt;/SPAN&gt;;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;To put it all in one you would probably need something like:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;load *&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;from XXXX&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;where (Country='US' and not match(Channel,'Pharma') and match(Product,'c') and Date&amp;gt;='20170701') OR&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;SPAN style="font-size: 13.3333px;"&gt;Country='US' and match(Channel,'Pharma') and not match(Product,'c') &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;and Date&amp;gt;='20170701') OR&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Country='US' and not match(Channel,'Pharma') and not match(Product,'c') &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;and Date&amp;gt;='20170701') OR&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Country='US' and not match(Channel,'Pharma') and not match(Product,'c') &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;and Date&amp;lt;'20170701');&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 17:10:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/operator-precedence-in-qlikview-load-script/m-p/1342992#M413540</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-22T17:10:35Z</dc:date>
    </item>
  </channel>
</rss>

