<?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: If statement with multiple conditions? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-statement-with-multiple-conditions/m-p/457640#M697538</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Write like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(left(lower([User ID]), 3) &amp;lt;&amp;gt; 'ed_t'&amp;nbsp; or&amp;nbsp; left(lower([User ID]), 3) &amp;lt;&amp;gt; 'D_ET' , 1) as [Exclude User ID]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Mar 2013 20:26:34 GMT</pubDate>
    <dc:creator>srinivasa1</dc:creator>
    <dc:date>2013-03-19T20:26:34Z</dc:date>
    <item>
      <title>If statement with multiple conditions?</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-with-multiple-conditions/m-p/457639#M697537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to develop an If statement that matches several conditions.&amp;nbsp; The reason I am trying to do this is to remove some data that isn't necessary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We often have people testing inside our database.&amp;nbsp; They'll use a User ID like "ed_t" or "D_ET".&amp;nbsp; So I when I import my data, I don't want to include those in the dataset at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My If statement doesn't seem to work, though.&amp;nbsp; It only matches the first condition.&amp;nbsp; Any thoughts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(left(lower([User ID]), 3) &amp;lt;&amp;gt; 'ed_t' or 'D_ET', 1) as [Exclude User ID]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Mar 2013 20:11:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-with-multiple-conditions/m-p/457639#M697537</guid>
      <dc:creator />
      <dc:date>2013-03-19T20:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: If statement with multiple conditions?</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-with-multiple-conditions/m-p/457640#M697538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Write like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(left(lower([User ID]), 3) &amp;lt;&amp;gt; 'ed_t'&amp;nbsp; or&amp;nbsp; left(lower([User ID]), 3) &amp;lt;&amp;gt; 'D_ET' , 1) as [Exclude User ID]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Mar 2013 20:26:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-with-multiple-conditions/m-p/457640#M697538</guid>
      <dc:creator>srinivasa1</dc:creator>
      <dc:date>2013-03-19T20:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: If statement with multiple conditions?</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-with-multiple-conditions/m-p/457641#M697539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;one comment about lower and 'D_ET': that won't work together:&lt;/P&gt;&lt;P&gt;if lower is necessary, use 'd_et'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Mar 2013 21:40:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-with-multiple-conditions/m-p/457641#M697539</guid>
      <dc:creator />
      <dc:date>2013-03-19T21:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: If statement with multiple conditions?</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-with-multiple-conditions/m-p/457642#M697540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you're comparing the same field in each condition, you can use match, mixmatch, or wildmatch for case sensitive, case insensitive, and wild card matches.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Mar 2013 23:25:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-with-multiple-conditions/m-p/457642#M697540</guid>
      <dc:creator />
      <dc:date>2013-03-19T23:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: If statement with multiple conditions?</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-with-multiple-conditions/m-p/457643#M697541</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(mixmatch([User ID], 'ed_t', 'D_ET'), 1 ) AS [Exclude User ID]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2013 06:19:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-with-multiple-conditions/m-p/457643#M697541</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-03-20T06:19:20Z</dc:date>
    </item>
  </channel>
</rss>

