<?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: Syntax dual if statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Syntax-dual-if-statement/m-p/529118#M197782</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try adding a final ')' at the end so they all match up:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(len(trim(SlutKundxOrderKund2.MasterKund))=8&lt;/P&gt;&lt;P&gt;and isnum(left(trim(SlutKundxOrderKund2.MasterKund),4))&lt;/P&gt;&lt;P&gt;and isnum(right(trim(SlutKundxOrderKund2.MasterKund),4)),&lt;/P&gt;&lt;P&gt;left(SlutKundxOrderKund2.MasterKund,4) &amp;amp; '-0000',&lt;/P&gt;&lt;P&gt;if(right(SlutKundxOrderKund2.MasterKund,4) = '0000'&lt;/P&gt;&lt;P&gt;and SlutKundxOrderKund2.Giltig_flagga = 0,&lt;/P&gt;&lt;P&gt;left([SlutKundxOrderKund2.Text 1],9),'Oäkta')) as Slutkund&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jan 2014 17:21:34 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2014-01-17T17:21:34Z</dc:date>
    <item>
      <title>Syntax dual if statement</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-dual-if-statement/m-p/529117#M197781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi i am experiencing a problem with brackets in the following statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please advise as both statement work individually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(len(trim(SlutKundxOrderKund2.MasterKund))=8 &lt;/P&gt;&lt;P&gt;and isnum(left(trim(SlutKundxOrderKund2.MasterKund),4))&lt;/P&gt;&lt;P&gt;and isnum(right(trim(SlutKundxOrderKund2.MasterKund),4)),&lt;/P&gt;&lt;P&gt;left(SlutKundxOrderKund2.MasterKund,4) &amp;amp; '-0000',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(right(SlutKundxOrderKund2.MasterKund,4) = '0000' &lt;/P&gt;&lt;P&gt;and SlutKundxOrderKund2.Giltig_flagga = 0, &lt;/P&gt;&lt;P&gt;left([SlutKundxOrderKund2.Text 1],9),'Oäkta') as Slutkund&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your help is greatly appreciated&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 17:05:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-dual-if-statement/m-p/529117#M197781</guid>
      <dc:creator />
      <dc:date>2014-01-17T17:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax dual if statement</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-dual-if-statement/m-p/529118#M197782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try adding a final ')' at the end so they all match up:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(len(trim(SlutKundxOrderKund2.MasterKund))=8&lt;/P&gt;&lt;P&gt;and isnum(left(trim(SlutKundxOrderKund2.MasterKund),4))&lt;/P&gt;&lt;P&gt;and isnum(right(trim(SlutKundxOrderKund2.MasterKund),4)),&lt;/P&gt;&lt;P&gt;left(SlutKundxOrderKund2.MasterKund,4) &amp;amp; '-0000',&lt;/P&gt;&lt;P&gt;if(right(SlutKundxOrderKund2.MasterKund,4) = '0000'&lt;/P&gt;&lt;P&gt;and SlutKundxOrderKund2.Giltig_flagga = 0,&lt;/P&gt;&lt;P&gt;left([SlutKundxOrderKund2.Text 1],9),'Oäkta')) as Slutkund&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 17:21:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-dual-if-statement/m-p/529118#M197782</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-01-17T17:21:34Z</dc:date>
    </item>
  </channel>
</rss>

