<?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: how many IF statement allowed in Qlikview script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-many-IF-statement-allowed-in-Qlikview-script/m-p/991304#M337750</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have an error at &lt;/P&gt;&lt;P&gt; If(&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Match(CUSTOMER_RACE_CODE(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There should not be any parenthesis after &lt;SPAN style="font-size: 13.3333px;"&gt;CUSTOMER_RACE_CODE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Sep 2015 19:02:11 GMT</pubDate>
    <dc:creator>hic</dc:creator>
    <dc:date>2015-09-07T19:02:11Z</dc:date>
    <item>
      <title>how many IF statement allowed in Qlikview script</title>
      <link>https://community.qlik.com/t5/QlikView/how-many-IF-statement-allowed-in-Qlikview-script/m-p/991298#M337744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good day,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there a number of IF statements allowed in the Qlikview script? &lt;/P&gt;&lt;P&gt;Because some of my IF statements are just not highlighted by the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please assist,&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Sep 2015 18:39:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-many-IF-statement-allowed-in-Qlikview-script/m-p/991298#M337744</guid>
      <dc:creator />
      <dc:date>2015-09-07T18:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: how many IF statement allowed in Qlikview script</title>
      <link>https://community.qlik.com/t5/QlikView/how-many-IF-statement-allowed-in-Qlikview-script/m-p/991299#M337745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please post a sample&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Sep 2015 18:41:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-many-IF-statement-allowed-in-Qlikview-script/m-p/991299#M337745</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-09-07T18:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: how many IF statement allowed in Qlikview script</title>
      <link>https://community.qlik.com/t5/QlikView/how-many-IF-statement-allowed-in-Qlikview-script/m-p/991300#M337746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="SAMPLE.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/98227_SAMPLE.jpg" style="height: 340px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Sep 2015 18:49:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-many-IF-statement-allowed-in-Qlikview-script/m-p/991300#M337746</guid>
      <dc:creator />
      <dc:date>2015-09-07T18:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: how many IF statement allowed in Qlikview script</title>
      <link>https://community.qlik.com/t5/QlikView/how-many-IF-statement-allowed-in-Qlikview-script/m-p/991301#M337747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The syntax color coding sometimes shows a different result than the what the real parser evaluates. So the question is: Does your script run or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However - I've tested a large number of nested If:s, and it seems to work fine, so I suspect that there is something else...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Sep 2015 18:52:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-many-IF-statement-allowed-in-Qlikview-script/m-p/991301#M337747</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-09-07T18:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: how many IF statement allowed in Qlikview script</title>
      <link>https://community.qlik.com/t5/QlikView/how-many-IF-statement-allowed-in-Qlikview-script/m-p/991302#M337748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to comment the if(match.............)&lt;/P&gt;&lt;P&gt;I think there is a syntax error, so your if are not &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;highlighted because they are after the error&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Sep 2015 18:53:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-many-IF-statement-allowed-in-Qlikview-script/m-p/991302#M337748</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-09-07T18:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: how many IF statement allowed in Qlikview script</title>
      <link>https://community.qlik.com/t5/QlikView/how-many-IF-statement-allowed-in-Qlikview-script/m-p/991303#M337749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok I commented it out and it looks ok, but what could the issue with the if(match...statement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Sep 2015 19:02:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-many-IF-statement-allowed-in-Qlikview-script/m-p/991303#M337749</guid>
      <dc:creator />
      <dc:date>2015-09-07T19:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: how many IF statement allowed in Qlikview script</title>
      <link>https://community.qlik.com/t5/QlikView/how-many-IF-statement-allowed-in-Qlikview-script/m-p/991304#M337750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have an error at &lt;/P&gt;&lt;P&gt; If(&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Match(CUSTOMER_RACE_CODE(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There should not be any parenthesis after &lt;SPAN style="font-size: 13.3333px;"&gt;CUSTOMER_RACE_CODE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Sep 2015 19:02:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-many-IF-statement-allowed-in-Qlikview-script/m-p/991304#M337750</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-09-07T19:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: how many IF statement allowed in Qlikview script</title>
      <link>https://community.qlik.com/t5/QlikView/how-many-IF-statement-allowed-in-Qlikview-script/m-p/991305#M337751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, D Mbini.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try &lt;SPAN style="font-size: 13.3333px;"&gt;replace&lt;/SPAN&gt; line 27 by&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Match(CUSTOMER_RACE_CODE,'A','C','I')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; ,'Y'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; ,'N'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; ) AS [HDP IND],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Sep 2015 19:12:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-many-IF-statement-allowed-in-Qlikview-script/m-p/991305#M337751</guid>
      <dc:creator>jonas_rezende</dc:creator>
      <dc:date>2015-09-07T19:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: how many IF statement allowed in Qlikview script</title>
      <link>https://community.qlik.com/t5/QlikView/how-many-IF-statement-allowed-in-Qlikview-script/m-p/991306#M337752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Gentlemen highly appreciated.&lt;/P&gt;&lt;P&gt;heres my code I want to convert to Qlikview:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="626"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl72" height="20" width="626"&gt;CASE WHEN&amp;nbsp; OPEN_DATE &amp;lt; ''01JUN2007'' THEN ''PRE''&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl72" height="20"&gt;ELSE ''POST'' END AS PRE_POST_NCA_IND&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Sep 2015 19:25:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-many-IF-statement-allowed-in-Qlikview-script/m-p/991306#M337752</guid>
      <dc:creator />
      <dc:date>2015-09-07T19:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: how many IF statement allowed in Qlikview script</title>
      <link>https://community.qlik.com/t5/QlikView/how-many-IF-statement-allowed-in-Qlikview-script/m-p/991307#M337753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Your question is different from current topic. Start a new thread for this query.&lt;/P&gt;&lt;P&gt;Please close the thread by selecting Correct Answer.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 00:15:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-many-IF-statement-allowed-in-Qlikview-script/m-p/991307#M337753</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2015-09-08T00:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: how many IF statement allowed in Qlikview script</title>
      <link>https://community.qlik.com/t5/QlikView/how-many-IF-statement-allowed-in-Qlikview-script/m-p/991308#M337754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;I feel your misplaced wrong field &lt;STRONG&gt;HOUS_GROSS_INCOME_AMT&lt;/STRONG&gt; in script &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 05:03:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-many-IF-statement-allowed-in-Qlikview-script/m-p/991308#M337754</guid>
      <dc:creator>sunilkumarqv</dc:creator>
      <dc:date>2015-09-08T05:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: how many IF statement allowed in Qlikview script</title>
      <link>https://community.qlik.com/t5/QlikView/how-many-IF-statement-allowed-in-Qlikview-script/m-p/991309#M337755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IF(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;OPEN_DATE&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'01JUN2007','PRE','PSOT') as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;PRE_POST_NCA_IND&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 05:05:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-many-IF-statement-allowed-in-Qlikview-script/m-p/991309#M337755</guid>
      <dc:creator>sunilkumarqv</dc:creator>
      <dc:date>2015-09-08T05:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: how many IF statement allowed in Qlikview script</title>
      <link>https://community.qlik.com/t5/QlikView/how-many-IF-statement-allowed-in-Qlikview-script/m-p/991310#M337756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AFAIK there is a limit of nested if-loops from 99 but in almost each case you should avoid such large nested expressions especially if this are if-loops. The error-proneness is extremly high (who would like to maintain it?) and the performance is often bad. Better is it to use mapping with applymap or pick(match()) structures and using of (parametrized) variables to improve the performance and the readability.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2756"&gt;Don't join - use Applymap instead&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/593232"&gt;Re: Substitute to nested ifs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/729633"&gt;Re: Simplify the code if possible&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 05:27:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-many-IF-statement-allowed-in-Qlikview-script/m-p/991310#M337756</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-09-08T05:27:14Z</dc:date>
    </item>
  </channel>
</rss>

