<?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 script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/if-condition-in-script/m-p/40734#M781565</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: 13px;"&gt;if(code='Success' or code='Success With No Issues', 'EF','NotEF') as&amp;nbsp; EF_Flag&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: 13px;"&gt;&lt;BR /&gt;&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: 13px;"&gt;Yep it's perfect. You or putting 'OR' condition right.. if any of these conditions get fulfilled, you'll get 'EF' else NotEF&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Apr 2018 14:45:14 GMT</pubDate>
    <dc:creator>shiveshsingh</dc:creator>
    <dc:date>2018-04-02T14:45:14Z</dc:date>
    <item>
      <title>if condition in script</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-in-script/m-p/40731#M781562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want create a Yes/no&amp;nbsp; through&amp;nbsp; if condition how to create this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;logic is :&lt;/P&gt;&lt;P&gt;if(Act_start&amp;gt;PlanStart&amp;nbsp; and ActEnd&amp;lt;=Plan_End&amp;nbsp; )&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;timeformat : 2018-01-22 15:00:28.000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anyone help on this?&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;Sony&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-script/m-p/40731#M781562</guid>
      <dc:creator>soniasweety</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: if condition in script</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-in-script/m-p/40732#M781563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If All fields are same format? Why not simply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Act_start&amp;gt;PlanStart&amp;nbsp; and ActEnd&amp;lt;=Plan_End, 'Yes', 'No') as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2018 12:53:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-in-script/m-p/40732#M781563</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-04-02T12:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: if condition in script</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-in-script/m-p/40733#M781564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes its all same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need one more also like&amp;nbsp;&amp;nbsp; is it correct or not?&amp;nbsp; with multi values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(code='Success' or code='Success With No Issues', 'EF','NotEF') as&amp;nbsp; EF_Flag,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2018 13:21:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-in-script/m-p/40733#M781564</guid>
      <dc:creator>soniasweety</dc:creator>
      <dc:date>2018-04-02T13:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: if condition in script</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-in-script/m-p/40734#M781565</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: 13px;"&gt;if(code='Success' or code='Success With No Issues', 'EF','NotEF') as&amp;nbsp; EF_Flag&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: 13px;"&gt;&lt;BR /&gt;&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: 13px;"&gt;Yep it's perfect. You or putting 'OR' condition right.. if any of these conditions get fulfilled, you'll get 'EF' else NotEF&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2018 14:45:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-in-script/m-p/40734#M781565</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2018-04-02T14:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: if condition in script</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-in-script/m-p/40735#M781566</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: 13px;"&gt;if(code='Success' or code='Success With No Issues', 'EF','NotEF') as&amp;nbsp; EF_Flag&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: 13px;"&gt;&lt;BR /&gt;&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: 13px;"&gt;Yep it's perfect, if any of these condition fulfils then EF else NotEF&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2018 14:45:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-in-script/m-p/40735#M781566</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2018-04-02T14:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: if condition in script</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-in-script/m-p/40736#M781567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks fine but when you are comparing strings care should be taken with the case&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;another way of doing this especially with multiple values, use match function as it is a lot more neater and sometimes more efficient than if&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if(Match(code,'Success' ,'Success With No Issues'), 'EF','NotEF') as&amp;nbsp; EF_Flag,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2018 20:07:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-in-script/m-p/40736#M781567</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2018-04-02T20:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: if condition in script</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-in-script/m-p/40737#M781568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please close your thread if your initial question is answered:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-14806"&gt;Qlik Community Tip: Marking Replies as Correct or Helpful&lt;/A&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;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2018 20:53:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-in-script/m-p/40737#M781568</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2018-04-02T20:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: if condition in script</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition-in-script/m-p/40738#M781569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if condition in qlikview is :&lt;/P&gt;&lt;P&gt;&lt;SPAN class="script_token" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-weight: bold; font-size: 12px; color: #0f0f0f;"&gt;if(&lt;/SPAN&gt;&lt;SPAN class="bnf_token" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: #0f0f0f;"&gt;condition , then , else&lt;/SPAN&gt;&lt;SPAN class="script_token" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-weight: bold; font-size: 12px; color: #0f0f0f;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="script_token" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-weight: bold; font-size: 12px; color: #0f0f0f;"&gt;as per you requirement:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="script_token" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-weight: bold; font-size: 12px; color: #0f0f0f;"&gt;if (condition,'true','false') as flag&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="script_token" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-weight: bold; font-size: 12px; color: #0f0f0f;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="script_token" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-weight: bold; font-size: 12px; color: #0f0f0f;"&gt;if condition is satisfied,expression returns true/yes else returns false/no.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="script_token" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-weight: bold; font-size: 12px; color: #0f0f0f;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="script_token" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-weight: bold; font-size: 12px; color: #0f0f0f;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 06:57:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition-in-script/m-p/40738#M781569</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-03T06:57:50Z</dc:date>
    </item>
  </channel>
</rss>

