<?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 and statement syntax in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/if-and-statement-syntax/m-p/510938#M190879</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; it seems there is a comma before the and.&lt;/P&gt;&lt;P&gt;if(Master_Item.Subassignment ='x'&lt;STRONG&gt; &lt;/STRONG&gt;and [Bank Code] &amp;lt;&amp;gt; '', &lt;/P&gt;&lt;P&gt;[Bank Code]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Oct 2013 09:50:48 GMT</pubDate>
    <dc:creator>bbi_mba_76</dc:creator>
    <dc:date>2013-10-23T09:50:48Z</dc:date>
    <item>
      <title>if and statement syntax</title>
      <link>https://community.qlik.com/t5/QlikView/if-and-statement-syntax/m-p/510937#M190878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi i have the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am trying to do a lookup based on two conditions in the same statement&lt;/P&gt;&lt;P&gt;the first condition provides the correct data, however the second condition does not work. &lt;/P&gt;&lt;P&gt;could you please provide any input for syntax correction. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. &lt;/P&gt;&lt;P&gt;if(Master_Item.Subassignment= 'x',&lt;/P&gt;&lt;P&gt;Cost_Center_Mapping.Subassignment, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. &lt;/P&gt;&lt;P&gt;if(Master_Item.Subassignment ='x' ,&lt;/P&gt;&lt;P&gt;and [Bank Code] &amp;lt;&amp;gt; '', &lt;/P&gt;&lt;P&gt;[Bank Code]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is for the subassignment field name in the table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 09:46:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-and-statement-syntax/m-p/510937#M190878</guid>
      <dc:creator />
      <dc:date>2013-10-23T09:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: if and statement syntax</title>
      <link>https://community.qlik.com/t5/QlikView/if-and-statement-syntax/m-p/510938#M190879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; it seems there is a comma before the and.&lt;/P&gt;&lt;P&gt;if(Master_Item.Subassignment ='x'&lt;STRONG&gt; &lt;/STRONG&gt;and [Bank Code] &amp;lt;&amp;gt; '', &lt;/P&gt;&lt;P&gt;[Bank Code]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 09:50:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-and-statement-syntax/m-p/510938#M190879</guid>
      <dc:creator>bbi_mba_76</dc:creator>
      <dc:date>2013-10-23T09:50:48Z</dc:date>
    </item>
  </channel>
</rss>

