<?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 Clarification on if-then statement in load script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Clarification-on-if-then-statement-in-load-script/m-p/213264#M67036</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;if(match(FieldA,'A','B','C'),...)&lt;/P&gt;&lt;P&gt;And while it doesn't matter here, the match() function returns the position in the list of the first match. So if FieldA = 'B', it will return 2. If it matches nothing, it returns 0. That's sometimes useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Apr 2010 23:41:57 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2010-04-13T23:41:57Z</dc:date>
    <item>
      <title>Clarification on if-then statement in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Clarification-on-if-then-statement-in-load-script/m-p/213263#M67035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys. Quick question. I want to create a derived field on top of one of my tables using an if statement.&lt;/P&gt;&lt;P&gt;If I want to do something of the sort like this: if FieldA = {'A','B','C'}, I have had to write it all out like if(FieldA = 'A' OR FieldA = 'B' OR FieldA = 'C', ...)&lt;/P&gt;&lt;P&gt;Is there an easy way to combine them into a set rather than expanding it all out using ORs?&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 23:35:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clarification-on-if-then-statement-in-load-script/m-p/213263#M67035</guid>
      <dc:creator />
      <dc:date>2010-04-13T23:35:12Z</dc:date>
    </item>
    <item>
      <title>Clarification on if-then statement in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Clarification-on-if-then-statement-in-load-script/m-p/213264#M67036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;if(match(FieldA,'A','B','C'),...)&lt;/P&gt;&lt;P&gt;And while it doesn't matter here, the match() function returns the position in the list of the first match. So if FieldA = 'B', it will return 2. If it matches nothing, it returns 0. That's sometimes useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 23:41:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clarification-on-if-then-statement-in-load-script/m-p/213264#M67036</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-04-13T23:41:57Z</dc:date>
    </item>
  </channel>
</rss>

