<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/nested-if/m-p/908931#M989213</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;Ssorry about the typo, but the requirement is, if the [Days Past Due] value is 32. It should come under the '&amp;gt;10' as well as '&amp;gt;31' bucket. Which won't happen as per the above if condition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jul 2015 20:33:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-07-21T20:33:59Z</dc:date>
    <item>
      <title>nested if</title>
      <link>https://community.qlik.com/t5/QlikView/nested-if/m-p/908928#M989210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/10670"&gt;maxgro&lt;/A&gt; &lt;A href="https://community.qlik.com/qlik-users/15823"&gt;swuehl&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Can someone please help me with this nested if condition in the script.&lt;/P&gt;&lt;P&gt;I want to categorize these days into four sub groups.&lt;/P&gt;&lt;P&gt;i.e., &amp;gt;10 , &amp;gt;31, &amp;gt;61, &amp;gt;91&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;I wrote the if condition but its failing in some cases.&lt;/P&gt;&lt;P&gt; if([Days Past Due] &amp;gt;91, '&amp;gt;91',&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if([Days Past Due] ,'&amp;gt;61',&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if([Days Past Due] ,'&amp;gt;31',&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if([Days Past Due] &amp;gt;10 ,'&amp;gt;10',null())))) as [Days Past Due Range],&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 20:08:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/nested-if/m-p/908928#M989210</guid>
      <dc:creator />
      <dc:date>2015-07-21T20:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: nested if</title>
      <link>https://community.qlik.com/t5/QlikView/nested-if/m-p/908929#M989211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you are missing some comparisons in conditions:&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: 12px;"&gt;if([Days Past Due] &amp;gt;91, '&amp;gt;91',&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;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if([Days Past Due] &lt;STRONG&gt;&amp;gt;61&lt;/STRONG&gt; ,'&amp;gt;61',&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;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if([Days Past Due]&lt;STRONG&gt; &amp;gt;31&lt;/STRONG&gt; ,'&amp;gt;31',&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;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if([Days Past Due] &amp;gt;10 ,'&amp;gt;10',null())))) as [Days Past Due Range], &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 20:26:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/nested-if/m-p/908929#M989211</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-07-21T20:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: nested if</title>
      <link>https://community.qlik.com/t5/QlikView/nested-if/m-p/908930#M989212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Last message sent to moderation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check your conditions, you are missing comparisons &amp;gt;61 resp &amp;gt;31 in second and third condition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 20:27:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/nested-if/m-p/908930#M989212</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-07-21T20:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: nested if</title>
      <link>https://community.qlik.com/t5/QlikView/nested-if/m-p/908931#M989213</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;Ssorry about the typo, but the requirement is, if the [Days Past Due] value is 32. It should come under the '&amp;gt;10' as well as '&amp;gt;31' bucket. Which won't happen as per the above if condition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 20:33:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/nested-if/m-p/908931#M989213</guid>
      <dc:creator />
      <dc:date>2015-07-21T20:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: nested if</title>
      <link>https://community.qlik.com/t5/QlikView/nested-if/m-p/908932#M989214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;please create a complete input/output specification instead of opening new threads for the same question.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;A href="https://community.qlik.com/thread/173479"&gt;nested if&lt;/A&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;A href="https://community.qlik.com/thread/173485"&gt;Issue in nested if&lt;/A&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;A href="https://community.qlik.com/thread/173486"&gt;Issue in nested if&lt;/A&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;A href="https://community.qlik.com/thread/173487"&gt;Issue in nested if&lt;/A&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;thanks&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;regards&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 21:45:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/nested-if/m-p/908932#M989214</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-07-21T21:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: nested if</title>
      <link>https://community.qlik.com/t5/QlikView/nested-if/m-p/908933#M989215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;like this?&lt;/P&gt;&lt;P&gt;or 4 different fields (&amp;gt;10 field, &amp;gt;31 field, etc...)?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/93566_1.png" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;d:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load * inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Days Past Due&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;10,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;32,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;62,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;92&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;t:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; [Days Past Due],&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; if([Days Past Due] &amp;gt; 91, '&amp;gt;91') as [Days Past Due Range]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;resident d;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; [Days Past Due],&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; if([Days Past Due] &amp;gt; 61, '&amp;gt;61') as [Days Past Due Range]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;resident d;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; [Days Past Due],&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; if([Days Past Due] &amp;gt; 31, '&amp;gt;31') as [Days Past Due Range]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;resident d;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; [Days Past Due],&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; if([Days Past Due] &amp;gt; 10, '&amp;gt;10') as [Days Past Due Range]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;resident d;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; [Days Past Due],&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; if([Days Past Due] &amp;lt;= 10, null()) as [Days Past Due Range]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;resident d;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DROP Table d;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 21:55:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/nested-if/m-p/908933#M989215</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-07-21T21:55:08Z</dc:date>
    </item>
  </channel>
</rss>

