<?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 doesnt return all in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/IF-statement-doesnt-return-all/m-p/443002#M702265</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if statement does not work like this&lt;/P&gt;&lt;P&gt;use&lt;/P&gt;&lt;P&gt;if (Match(Branch,&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;'DOME'&lt;/SPAN&gt;,&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;'MAKOLA' &lt;/SPAN&gt;,&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;'AVENOR'&lt;/SPAN&gt;,&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;'MUUS'&lt;/SPAN&gt;),&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;'GREATER ACCRA',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;&amp;nbsp; if(Branch=&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;'SWEDRU','CENTRAL'&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #eef4f9; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp; IF(BRANCH ='KUMASI','ASHANTI',Null()))&lt;/SPAN&gt;) as Region&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Sep 2012 11:04:41 GMT</pubDate>
    <dc:creator>rajni_batra</dc:creator>
    <dc:date>2012-09-26T11:04:41Z</dc:date>
    <item>
      <title>IF statement doesnt return all</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-doesnt-return-all/m-p/443001#M702264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt; can someone please tell me what's wrong with this statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(BRANCH ='DOME' OR 'MAKOLA' OR&amp;nbsp; 'AVENOR' OR&amp;nbsp; 'MUUS','GREATER ACCRA',IF(BRANCH = 'SWEDRU','CENTRAL',IF(BRANCH ='KUMASI','ASHANTI',NULL()))) as Region;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i select GREATER ACCRA from Region it only shows DOME and not the rest MAKOLA, AVENOR and MUUS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 10:48:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-doesnt-return-all/m-p/443001#M702264</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-26T10:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement doesnt return all</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-doesnt-return-all/m-p/443002#M702265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if statement does not work like this&lt;/P&gt;&lt;P&gt;use&lt;/P&gt;&lt;P&gt;if (Match(Branch,&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;'DOME'&lt;/SPAN&gt;,&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;'MAKOLA' &lt;/SPAN&gt;,&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;'AVENOR'&lt;/SPAN&gt;,&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;'MUUS'&lt;/SPAN&gt;),&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;'GREATER ACCRA',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;&amp;nbsp; if(Branch=&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;'SWEDRU','CENTRAL'&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #eef4f9; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp; IF(BRANCH ='KUMASI','ASHANTI',Null()))&lt;/SPAN&gt;) as Region&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 11:04:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-doesnt-return-all/m-p/443002#M702265</guid>
      <dc:creator>rajni_batra</dc:creator>
      <dc:date>2012-09-26T11:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement doesnt return all</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-doesnt-return-all/m-p/443003#M702266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IF(wildmatch(BRANCH ,'DOME' , 'MAKOLA' ,&amp;nbsp; 'AVENOR' , 'MUUS') , 'GREATER ACCRA',&lt;/P&gt;&lt;P&gt;IF(wildmatch(BRANCH = 'SWEDRU') , 'CENTRAL',&lt;/P&gt;&lt;P&gt;IF(wildmatch(BRANCH ,'KUMASI') , 'ASHANTI',&lt;/P&gt;&lt;P&gt;NULL()))) as Region&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nilesh Gangurde&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 11:09:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-doesnt-return-all/m-p/443003#M702266</guid>
      <dc:creator>nilesh_gangurde</dc:creator>
      <dc:date>2012-09-26T11:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement doesnt return all</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-doesnt-return-all/m-p/443004#M702267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 11:10:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-doesnt-return-all/m-p/443004#M702267</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-26T11:10:06Z</dc:date>
    </item>
  </channel>
</rss>

