<?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: Nested IF formula involving greater than a fixed date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Nested-IF-formula-involving-greater-than-a-fixed-date/m-p/1177192#M889544</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;STRONG&gt;If([POLICYSTATUS] = 'Inf' and [DOC] &amp;gt; MakeDate(2014, 1, 31), 'NB',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If([POLICYSTATUS] = 'Inf' and [DOC] &amp;lt;= &lt;STRONG style="font-size: 13.3333px;"&gt;MakeDate(2014, 1, 31)&lt;/STRONG&gt;, 'RB', 'Lapsed')) as [NB/RB]&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Aug 2016 09:14:11 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-08-26T09:14:11Z</dc:date>
    <item>
      <title>Nested IF formula involving greater than a fixed date</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-IF-formula-involving-greater-than-a-fixed-date/m-p/1177191#M889543</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 am trying to write an expression in Edit Script and facing issues with it. This expression is as follows -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if([POLICYSTATUS]='Inf' and [DOC]&amp;gt;&amp;gt;31/01/2014,'NB',IF([POLICYSTATUS]='Inf' and not [DOC]&amp;gt;&amp;gt;31/01/2014,'RB','Lapsed')) as [NB/RB]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I am making some mistakes either in writing IF formula or date expression is wrong. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please help me in this regard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Abhik&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/Nested-IF-formula-involving-greater-than-a-fixed-date/m-p/1177191#M889543</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Nested IF formula involving greater than a fixed date</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-IF-formula-involving-greater-than-a-fixed-date/m-p/1177192#M889544</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;STRONG&gt;If([POLICYSTATUS] = 'Inf' and [DOC] &amp;gt; MakeDate(2014, 1, 31), 'NB',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If([POLICYSTATUS] = 'Inf' and [DOC] &amp;lt;= &lt;STRONG style="font-size: 13.3333px;"&gt;MakeDate(2014, 1, 31)&lt;/STRONG&gt;, 'RB', 'Lapsed')) as [NB/RB]&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 09:14:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-IF-formula-involving-greater-than-a-fixed-date/m-p/1177192#M889544</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-26T09:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: Nested IF formula involving greater than a fixed date</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-IF-formula-involving-greater-than-a-fixed-date/m-p/1177193#M889545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great!! Thanks Sunny, it worked smoothly!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 10:21:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-IF-formula-involving-greater-than-a-fixed-date/m-p/1177193#M889545</guid>
      <dc:creator />
      <dc:date>2016-08-26T10:21:36Z</dc:date>
    </item>
  </channel>
</rss>

