<?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 Can multiple Nested If statements with 'Or'  condition work ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Can-multiple-Nested-If-statements-with-Or-condition-work/m-p/1540494#M439404</link>
    <description>&lt;P&gt;&amp;nbsp;Here is my expression with conditions :&amp;nbsp;&lt;/P&gt;&lt;P&gt;The result&amp;nbsp; I want is&amp;nbsp;&lt;/P&gt;&lt;P&gt;If A then A,&lt;/P&gt;&lt;P&gt;If B then B&amp;nbsp; but if B is not met then&lt;/P&gt;&lt;P&gt;If C then C&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;if($(vFilter)=1 and DomesticFlag=1 , CompanyCode &amp;amp;' '&amp;amp;&amp;nbsp; Company Name ,&lt;/P&gt;&lt;P&gt;if($(vFilter)=4 and&amp;nbsp; ForeignFlag=1,&amp;nbsp; &lt;SPAN&gt;CompanyCode &amp;amp;' '&amp;amp;&amp;nbsp; Company Name,&amp;nbsp; &amp;nbsp; &lt;FONT color="#FF00FF"&gt;&amp;lt;&amp;lt;&lt;/FONT&gt;&lt;FONT size="2" color="#FF00FF"&gt;&lt;EM&gt;&amp;nbsp;if&amp;nbsp;&amp;nbsp;ForeignFlag=1 is not available&amp;nbsp; I want the next condition&amp;gt;&amp;gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3" color="#000000"&gt;&lt;SPAN&gt;&lt;EM&gt;if($(vFilter)=4 and StateFlag=1,&amp;nbsp;&amp;nbsp;CompanyCode &amp;amp;' '&amp;amp;&amp;nbsp; Company Name&lt;/EM&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;)) )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this correctly written ?&lt;/P&gt;</description>
    <pubDate>Wed, 06 Feb 2019 18:41:30 GMT</pubDate>
    <dc:creator>claudialet</dc:creator>
    <dc:date>2019-02-06T18:41:30Z</dc:date>
    <item>
      <title>Can multiple Nested If statements with 'Or'  condition work ?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-multiple-Nested-If-statements-with-Or-condition-work/m-p/1540494#M439404</link>
      <description>&lt;P&gt;&amp;nbsp;Here is my expression with conditions :&amp;nbsp;&lt;/P&gt;&lt;P&gt;The result&amp;nbsp; I want is&amp;nbsp;&lt;/P&gt;&lt;P&gt;If A then A,&lt;/P&gt;&lt;P&gt;If B then B&amp;nbsp; but if B is not met then&lt;/P&gt;&lt;P&gt;If C then C&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;if($(vFilter)=1 and DomesticFlag=1 , CompanyCode &amp;amp;' '&amp;amp;&amp;nbsp; Company Name ,&lt;/P&gt;&lt;P&gt;if($(vFilter)=4 and&amp;nbsp; ForeignFlag=1,&amp;nbsp; &lt;SPAN&gt;CompanyCode &amp;amp;' '&amp;amp;&amp;nbsp; Company Name,&amp;nbsp; &amp;nbsp; &lt;FONT color="#FF00FF"&gt;&amp;lt;&amp;lt;&lt;/FONT&gt;&lt;FONT size="2" color="#FF00FF"&gt;&lt;EM&gt;&amp;nbsp;if&amp;nbsp;&amp;nbsp;ForeignFlag=1 is not available&amp;nbsp; I want the next condition&amp;gt;&amp;gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3" color="#000000"&gt;&lt;SPAN&gt;&lt;EM&gt;if($(vFilter)=4 and StateFlag=1,&amp;nbsp;&amp;nbsp;CompanyCode &amp;amp;' '&amp;amp;&amp;nbsp; Company Name&lt;/EM&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;)) )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this correctly written ?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 18:41:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-multiple-Nested-If-statements-with-Or-condition-work/m-p/1540494#M439404</guid>
      <dc:creator>claudialet</dc:creator>
      <dc:date>2019-02-06T18:41:30Z</dc:date>
    </item>
  </channel>
</rss>

