<?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 WHERE, multiple criteria in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-WHERE-multiple-criteria/m-p/743349#M265438</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;Post your script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Feb 2015 10:22:44 GMT</pubDate>
    <dc:creator>PrashantSangle</dc:creator>
    <dc:date>2015-02-18T10:22:44Z</dc:date>
    <item>
      <title>Load WHERE, multiple criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Load-WHERE-multiple-criteria/m-p/743345#M265434</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;How do I state a multiple criteria where clause when loading data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to exclude specific transactions&lt;/P&gt;&lt;P&gt;WHERE &lt;STRONG&gt;Sender = XXXX&lt;/STRONG&gt; and &lt;STRONG&gt;Amount &amp;lt;0&lt;/STRONG&gt; and &lt;STRONG&gt;Right(Amount,4)='00.00'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 10:05:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-WHERE-multiple-criteria/m-p/743345#M265434</guid>
      <dc:creator />
      <dc:date>2015-02-18T10:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Load WHERE, multiple criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Load-WHERE-multiple-criteria/m-p/743346#M265435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use same syntax as above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 10:08:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-WHERE-multiple-criteria/m-p/743346#M265435</guid>
      <dc:creator>AbhijitBansode</dc:creator>
      <dc:date>2015-02-18T10:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Load WHERE, multiple criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Load-WHERE-multiple-criteria/m-p/743347#M265436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhijit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from my understanding that will exlude all of the different criterias separately. Meaning all transactions where sender = XXX, all negative amounts and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to exclude ONLY the transactions where all of the three criterias are filfilled. Meaning negative amounts from sender XXX which ends with 00.00 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//O&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 10:14:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-WHERE-multiple-criteria/m-p/743347#M265436</guid>
      <dc:creator />
      <dc:date>2015-02-18T10:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Load WHERE, multiple criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Load-WHERE-multiple-criteria/m-p/743348#M265437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Olle,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;Use Match function in the where statement to reach your requirement (right function does not exist in QV).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Just try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tabledata:&lt;/P&gt;&lt;P&gt;LOAD *, Sender, Amount&lt;/P&gt;&lt;P&gt;FROM...&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;WHERE not(Sender='XXX' and Amount&amp;lt;0 and right(Amount, 4)= '00.00');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;You can also use wildmatch function:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;WHERE not(Sender='XXX' and Amount&amp;lt;0 and wildmatch(Amount, '*00.00')=1);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You also can use Mid function:&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;WHERE not(Sender='XXX' and Amount&amp;lt;0 and&lt;/SPAN&gt; mid(Amount, len(Amount)-4, 5)='00.00');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Edit] I added not() function in order to exclude the records that accomplish both 3 conditions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 10:16:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-WHERE-multiple-criteria/m-p/743348#M265437</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-18T10:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: Load WHERE, multiple criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Load-WHERE-multiple-criteria/m-p/743349#M265438</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;Post your script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 10:22:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-WHERE-multiple-criteria/m-p/743349#M265438</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-02-18T10:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Load WHERE, multiple criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Load-WHERE-multiple-criteria/m-p/743350#M265439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Olle,&lt;/P&gt;&lt;P&gt;Can use the criteria you specified with a not statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE NOT (&lt;STRONG&gt;Sender = XXXX&lt;/STRONG&gt; and &lt;STRONG&gt;Amount &amp;lt;0&lt;/STRONG&gt; and &lt;STRONG&gt;Right(Amount,4)='00.00')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope that helps&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 10:30:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-WHERE-multiple-criteria/m-p/743350#M265439</guid>
      <dc:creator />
      <dc:date>2015-02-18T10:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Load WHERE, multiple criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Load-WHERE-multiple-criteria/m-p/743351#M265440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think your syntax is correct. Because you use AND, all the criteria must match for a record to be selected.&lt;/P&gt;&lt;P&gt;If you were using OR between criteria, the results would be different. But, as marc says, you must use valid functions etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 10:31:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-WHERE-multiple-criteria/m-p/743351#M265440</guid>
      <dc:creator>richard_chilvers</dc:creator>
      <dc:date>2015-02-18T10:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Load WHERE, multiple criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Load-WHERE-multiple-criteria/m-p/743352#M265441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marc,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;page 337 of QV manual, you'll find right is a valid function&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12pt; font-family: CourierNewPS-BoldMT;"&gt;&lt;STRONG&gt;right( &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="; font-size: 12pt; font-family: CourierNewPS-ItalicMT;"&gt;&lt;EM&gt;s , n &lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="; font-size: 12pt; font-family: CourierNewPS-BoldMT;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: TimesNewRomanPSMT;"&gt;Substring of the string &lt;/SPAN&gt;&lt;SPAN style="; font-size: 10pt; font-family: TimesNewRomanPS-ItalicMT;"&gt;&lt;EM&gt;s&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: TimesNewRomanPSMT;"&gt;. The result is a string consisting of the last &lt;/SPAN&gt;&lt;SPAN style="; font-size: 10pt; font-family: TimesNewRomanPS-ItalicMT;"&gt;&lt;EM&gt;n &lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: TimesNewRomanPSMT;"&gt;characters of &lt;/SPAN&gt;&lt;SPAN style="; font-size: 10pt; font-family: TimesNewRomanPS-ItalicMT;"&gt;&lt;EM&gt;s&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: TimesNewRomanPSMT;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: CourierNewPSMT;"&gt;right('abcdef',3 ) &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: TimesNewRomanPSMT;"&gt;returns &lt;/SPAN&gt;&lt;SPAN style="; font-size: 10pt; font-family: TimesNewRomanPS-ItalicMT;"&gt;&lt;EM&gt;'def'&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: TimesNewRomanPSMT;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: CourierNewPSMT;"&gt;right( Date,2 ) &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: TimesNewRomanPSMT;"&gt;where &lt;/SPAN&gt;&lt;SPAN style="; font-size: 10pt; font-family: TimesNewRomanPS-ItalicMT;"&gt;&lt;EM&gt;Date &lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: TimesNewRomanPSMT;"&gt;= 1997-07-14 returns &lt;/SPAN&gt;&lt;SPAN style="; font-size: 10pt; font-family: TimesNewRomanPS-ItalicMT;"&gt;&lt;EM&gt;14&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: TimesNewRomanPSMT;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 10:31:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-WHERE-multiple-criteria/m-p/743352#M265441</guid>
      <dc:creator />
      <dc:date>2015-02-18T10:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: Load WHERE, multiple criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Load-WHERE-multiple-criteria/m-p/743353#M265442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joe , you are &lt;EM&gt;right.&lt;/EM&gt; Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 10:33:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-WHERE-multiple-criteria/m-p/743353#M265442</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-18T10:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Load WHERE, multiple criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Load-WHERE-multiple-criteria/m-p/743354#M265443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ha touché &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I should also say that "match(Amount, '00.00')=1" won't give you the desired result.&lt;/P&gt;&lt;P&gt;Match will look at the entire value rather than a section within it. You are meaning wildmatch instead I think.&lt;/P&gt;&lt;P&gt;wildmatch(Amount, '*00.00')=1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 10:44:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-WHERE-multiple-criteria/m-p/743354#M265443</guid>
      <dc:creator />
      <dc:date>2015-02-18T10:44:12Z</dc:date>
    </item>
  </channel>
</rss>

