<?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 Else If Else ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-Else-If-Else/m-p/680830#M246822</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Look at the below posts.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/117309"&gt;http://community.qlik.com/thread/117309&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/315707#315707"&gt;http://community.qlik.com/message/315707#315707&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 15 Jun 2014 12:08:17 GMT</pubDate>
    <dc:creator>ashfaq_haseeb</dc:creator>
    <dc:date>2014-06-15T12:08:17Z</dc:date>
    <item>
      <title>If Else If Else ?</title>
      <link>https://community.qlik.com/t5/QlikView/If-Else-If-Else/m-p/680829#M246821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I am in need to use If Else If Elseconditon in my application..&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;please share the application ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Jun 2014 11:55:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Else-If-Else/m-p/680829#M246821</guid>
      <dc:creator />
      <dc:date>2014-06-15T11:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: If Else If Else ?</title>
      <link>https://community.qlik.com/t5/QlikView/If-Else-If-Else/m-p/680830#M246822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Look at the below posts.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/117309"&gt;http://community.qlik.com/thread/117309&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/315707#315707"&gt;http://community.qlik.com/message/315707#315707&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Jun 2014 12:08:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Else-If-Else/m-p/680830#M246822</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-06-15T12:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: If Else If Else ?</title>
      <link>https://community.qlik.com/t5/QlikView/If-Else-If-Else/m-p/680831#M246823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can you be more specific of what you need.&lt;/P&gt;&lt;P&gt;May be give details like - you need a if else condition&lt;/P&gt;&lt;P&gt;in load script or in chart expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Jun 2014 12:38:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Else-If-Else/m-p/680831#M246823</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-15T12:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: If Else If Else ?</title>
      <link>https://community.qlik.com/t5/QlikView/If-Else-If-Else/m-p/680832#M246824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are so many ways of using the if else if condition some are in the load script and some are expressions but in expression if condition has not good performance. But in load you can use it many ways check the below discription from the help and small examples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H1&gt;&lt;A name="kanchor746"&gt;&lt;/A&gt;If..then..elseif..else..end if&lt;/H1&gt;&lt;P&gt;The &lt;SPAN class="Bold"&gt;if..then&lt;/SPAN&gt; control statement is a script selection construct forcing the script execution to follow different paths depending on one or several logical conditions. The syntax is:&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Bold"&gt;if&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt; condition &lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;then&lt;/SPAN&gt; &lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Italic"&gt;&amp;nbsp; [ statements ] &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Italic"&gt;{ &lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;elseif&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt; condition &lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;then&lt;/SPAN&gt; &lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Italic"&gt;&amp;nbsp; [ statements ] } &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Italic"&gt;[ &lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;else&lt;/SPAN&gt; &lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Italic"&gt;&amp;nbsp; [ statements ] ] &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Bold"&gt;end if&lt;/P&gt;&lt;P&gt;Where:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Italic"&gt;condition&lt;/SPAN&gt; is a logical expression which can be evaluated as true or false. &lt;/P&gt;&lt;P&gt;&lt;SPAN class="Italic"&gt;statements&lt;/SPAN&gt; is any group of one or more QlikView script statements. &lt;/P&gt;&lt;P&gt;Since the &lt;SPAN class="Bold"&gt;if..then&lt;/SPAN&gt; statement is a control statement and as such is ended with either a semicolon or end-of-line, each of its four possible clauses (&lt;SPAN class="Bold"&gt;if..then&lt;/SPAN&gt;, &lt;SPAN class="Bold"&gt;elseif..then&lt;/SPAN&gt;, &lt;SPAN class="Bold"&gt;else&lt;/SPAN&gt; and &lt;SPAN class="Bold"&gt;end if&lt;/SPAN&gt;) must not cross a line boundary. &lt;/P&gt;&lt;P class="example"&gt;&lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P class="Code"&gt;&lt;STRONG&gt;Let a = 1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="Code"&gt;if a=1 then&lt;/P&gt;&lt;P class="Code"&gt;load * from abc.csv;&lt;/P&gt;&lt;P class="Code"&gt;sql select e, f, g from tab1;&lt;/P&gt;&lt;P class="Code"&gt;end if&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;if a=1 then; drop table xyz; end if;&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;if x&amp;gt;0 then&lt;/P&gt;&lt;P class="Code"&gt;load * from pos.csv;&lt;/P&gt;&lt;P class="Code"&gt;elseif x&amp;lt;0 then&lt;/P&gt;&lt;P class="Code"&gt;load * from neg.csv;&lt;/P&gt;&lt;P class="Code"&gt;else&lt;/P&gt;&lt;P class="Code"&gt;load * from zero.txt;&lt;/P&gt;&lt;P class="Code"&gt;end if&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Jun 2014 13:55:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Else-If-Else/m-p/680832#M246824</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-06-15T13:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: If Else If Else ?</title>
      <link>https://community.qlik.com/t5/QlikView/If-Else-If-Else/m-p/680833#M246825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As script statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_text_macro _jivemacro_uid_14028659641891782 jive_macro_code" jivemacro_uid="_14028659641891782" modifiedtitle="true"&gt;
&lt;P&gt;IF &amp;lt;condition&amp;gt; THEN&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; statement1&lt;/P&gt;
&lt;P&gt;ELSE&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF &amp;lt;condition2&amp;gt; THEN&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; statement2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ELSE&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; statement3&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDIF&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;ENDIF&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as an expression&lt;/P&gt;&lt;P&gt;IF(&amp;lt;condition&amp;gt;,expression1,if(&amp;lt;condition2&amp;gt;,expression2,expression3))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Jun 2014 21:00:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Else-If-Else/m-p/680833#M246825</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2014-06-15T21:00:23Z</dc:date>
    </item>
  </channel>
</rss>

