<?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 condition in load script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060824#M922499</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to take two fields from two different tables and use them in a third table using Resident load?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field1 from Table1&lt;/P&gt;&lt;P&gt;Field2 from Table2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 3:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Should have Field 1 and Field2).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Apr 2016 15:23:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-04-19T15:23:54Z</dc:date>
    <item>
      <title>if condition in load script</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060820#M922495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two Fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FieldA has two values A and B&lt;/P&gt;&lt;P&gt;FieldB has Y and N&lt;/P&gt;&lt;P&gt;FieldC has numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to fetch values from FieldC based on condition on FieldA and FieldB in the Load Script as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if([FieldA]='A' and [FieldB]='Y', [FieldC])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If FieldA has A and FieldB has Y as values, then the column FieldC should get all the values corresponding to the condition. But I get this error saying Invalid Expression. How to achieve this in Load Script level.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060820#M922495</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: if condition in load script</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060821#M922496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see any issue with you if statement. Are you doing this within the LOAD statement right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;if([FieldA]='A' and [FieldB]='Y', [FieldC]) as RequiredField&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 14:47:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060821#M922496</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-19T14:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: if condition in load script</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060822#M922497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All three fields need to be part of your input table, they can't reside in separate tables. Is this true?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, could you post your complete LOAD statement? It's hard to tell why you get the error message without seeing the full context.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 14:49:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060822#M922497</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-19T14:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: if condition in load script</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060823#M922498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;UPDATE:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field1, Field2 and Field3 are coming from the same table, Table1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using this in the load of a new table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Field1,&lt;/P&gt;&lt;P&gt;Field2,&lt;/P&gt;&lt;P&gt;Field3,&lt;/P&gt;&lt;P&gt;if(Field1='A', and FieldB='Y', then Field3) as [DefinedValue]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resident Table1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 14:56:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060823#M922498</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-19T14:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: if condition in load script</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060824#M922499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to take two fields from two different tables and use them in a third table using Resident load?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field1 from Table1&lt;/P&gt;&lt;P&gt;Field2 from Table2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 3:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Should have Field 1 and Field2).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 15:23:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060824#M922499</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-19T15:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: if condition in load script</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060825#M922500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if(Field1='A' and FieldB='Y' or 'N', Field3) as [DefinedValue]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 16:04:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060825#M922500</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-19T16:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: if condition in load script</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060826#M922501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;If(Field1='A' and Match(FieldB, 'Y', 'N'), Field3) as [DefinedValue]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 16:07:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060826#M922501</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-19T16:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: if condition in load script</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060827#M922502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After you join them using JOIN functionality&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 16:07:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060827#M922502</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-19T16:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: if condition in load script</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060828#M922503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;DRJ DJ wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Is it possible to take two fields from two different tables and use them in a third table using Resident load?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;For example,&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Field1 from Table1&lt;/P&gt;
&lt;P&gt;Field2 from Table2&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Table 3:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;(Should have Field 1 and Field2).&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;No, not without using inter record functions, like lookup(). Or maybe a MAPPING.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 16:07:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060828#M922503</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-19T16:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: if condition in load script</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060829#M922504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works in the Load script?, Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 16:08:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060829#M922504</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-19T16:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: if condition in load script</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060830#M922505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;if(Field1='A', and FieldB='Y', &lt;SPAN style="text-decoration: line-through;"&gt;then&lt;/SPAN&gt; Field3) as [DefinedValue]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if(Field1='A' and FieldB='Y' or&lt;STRONG&gt; FieldB =&lt;/STRONG&gt; 'N', Field3) as [DefinedValue]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 16:08:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060830#M922505</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-19T16:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: if condition in load script</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060831#M922506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I would think so. Is it not working?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 16:12:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060831#M922506</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-19T16:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: if condition in load script</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060832#M922507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see any error. But I see that the conditions are not being evaluated. The resultant field is showing incorrect values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 16:42:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060832#M922507</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-19T16:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: if condition in load script</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060833#M922508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you explain your condition in plain simple English?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 17:01:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060833#M922508</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-19T17:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: if condition in load script</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060834#M922509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess , you need to use DUal function like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3858"&gt;Dual &amp;amp;amp; Exists – Useful Functions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 17:26:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060834#M922509</guid>
      <dc:creator>vikramv</dc:creator>
      <dc:date>2016-04-19T17:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: if condition in load script</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060835#M922510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to check for a value in Field1, check for two values in Field2 ( Like A or B) and then depending on the conditions, I should display the value present in Field3 as DefineValue columm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you got it, Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 18:09:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060835#M922510</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-19T18:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: if condition in load script</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060836#M922511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Check this from the help that may help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A name="kanchor51" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;&lt;/A&gt;&lt;A name="lookup(" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;&lt;/A&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;lookup(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="Italic" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;fieldname, matchfieldname, matchfieldvalue [, tablename]&lt;/SPAN&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Returns the value of &lt;SPAN class="Italic" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;fieldname&lt;/SPAN&gt; corresponding to the first occurrence of the value&lt;SPAN class="Italic" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;matchfieldvalue&lt;/SPAN&gt; in the field &lt;SPAN class="Italic" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;matchfieldname&lt;/SPAN&gt;.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN class="Italic" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Fieldname&lt;/SPAN&gt;, &lt;SPAN class="Italic" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;matchfieldname&lt;/SPAN&gt; and &lt;SPAN class="Italic" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;tablename&lt;/SPAN&gt; must be given as strings (e.g. quoted literals).&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The search order is load order unless the table is the result of complex operations such as joins, in which case the order is not well defined.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Both &lt;SPAN class="Italic" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;fieldname&lt;/SPAN&gt; and &lt;SPAN class="Italic" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;matchfieldname&lt;/SPAN&gt; must be fields in the same table, specified by&lt;SPAN class="Italic" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;tablename&lt;/SPAN&gt;. If &lt;SPAN class="Italic" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;tablename&lt;/SPAN&gt; is omitted the current table is assumed.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If no match is found, null is returned.&lt;/P&gt;&lt;P class="example"&gt;&lt;/P&gt;&lt;P class="example" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Example:&lt;/P&gt;&lt;P class="Code" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;lookup('Price', 'ProductID', InvoicedProd, 'pricelist')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 18:31:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060836#M922511</guid>
      <dc:creator>vikramv</dc:creator>
      <dc:date>2016-04-19T18:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: if condition in load script</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060837#M922512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would think this to work:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If(Field1='A' and Match(FieldB, 'Y', 'N'), Field3) as [DefinedValue]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you be able to share a sample where this isn't working?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 18:40:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060837#M922512</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-19T18:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: if condition in load script</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060838#M922513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Vikram, I need to check for two values in Field2. It's not just one value in Field1. This thing doesn't work in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Conditions example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if Field1 has X&lt;/P&gt;&lt;P&gt;if Field2 has Y or N,&lt;/P&gt;&lt;P&gt;then Field3 as DefinedValue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, you maybe able to do it for one value, but I need to check for two values in the Field2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 18:41:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060838#M922513</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-19T18:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: if condition in load script</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060839#M922514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The sample data i can provide is the same examples I have been using, Sunny. My original data is too complicated and also, privacy issues. So I will try it from my end and will get back if I can't figure it out. Thanks again &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 19:34:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-in-load-script/m-p/1060839#M922514</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-19T19:34:34Z</dc:date>
    </item>
  </channel>
</rss>

