<?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 Help in IF Elseif in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-in-IF-Elseif/m-p/284583#M105784</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Joe,&lt;/P&gt;&lt;P&gt;Try This Code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(CUSTOMER=400, &lt;BR /&gt; if(today() -(INV_DATE+90) &amp;lt;= 0,'ONE',&lt;BR /&gt; if(today() -(INV_DATE+90) &amp;lt;= 30,'TWO',&lt;BR /&gt; if(today () -(INV_DATE+90) &amp;lt;= 60,'THREE',&lt;BR /&gt; If(today ()- (INV_DATE+90) &amp;lt;= 90, 'FOUR', 'REST')))),&lt;BR /&gt; &lt;BR /&gt;If(CUSTOMER=54, &lt;BR /&gt; if(today() -[Deli_Date] &amp;lt;= 0 ,'ONE',&lt;BR /&gt; if(today() -[ Deli_Date] &amp;lt;= 30 ,'TWO',&lt;BR /&gt; if(today () -[ Deli_Date] &amp;lt;= 60,'THREE',&lt;BR /&gt; If(today ()- [Deli_Date] &amp;lt;= 90,'FOUR', 'REST')))),&lt;/P&gt;&lt;P&gt;If(today() -[Date] &amp;lt;= 0 ,'ONE',&lt;BR /&gt;if(today() -[Date] &amp;lt;= 30 ,'TWO',&lt;BR /&gt;if(today () -[Date] &amp;lt;= 60,'THREE',&lt;BR /&gt;If(today ()- [Date] &amp;lt;= 90, 'FOUR', 'REST')))))) as [Aged] &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jan 2012 06:36:35 GMT</pubDate>
    <dc:creator>vijay_iitkgp</dc:creator>
    <dc:date>2012-01-18T06:36:35Z</dc:date>
    <item>
      <title>Help in IF Elseif</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-IF-Elseif/m-p/284582#M105783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have doubt in writing a expression, I have already written a expression in the below, which is working fine.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: purple; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: purple; font-size: 9pt;"&gt;today&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;() -&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: green; font-size: 9pt;"&gt;[DATE]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; ,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;'ONE'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: purple; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: purple; font-size: 9pt;"&gt;today&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;() -&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: green; font-size: 9pt;"&gt;[DATE]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;30&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; ,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;'TWO'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: purple; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: purple; font-size: 9pt;"&gt;today&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; () -&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: green; font-size: 9pt;"&gt;[DATE]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;60&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;'THREE'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: purple; font-size: 9pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: purple; font-size: 9pt;"&gt;today&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; ()- &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: green; font-size: 9pt;"&gt;[DATE]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;90&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;'FOUR'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;'REST'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)))) &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: green; font-size: 9pt;"&gt;[Aged]; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: green; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: green; font-size: 9pt; font-family: 'Courier New';"&gt;My requirement is based on different customer like,400 and 54 Its not working for me,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: green; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: green; font-size: 9pt; font-family: 'Courier New';"&gt;Please help me how to do it.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: green; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: purple; font-size: 9pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: green; font-size: 9pt;"&gt;CUSTOMER&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;400&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: green; font-size: 9pt;"&gt;then&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: purple; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: purple; font-size: 9pt;"&gt;today&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;() -(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: green; font-size: 9pt;"&gt;INV_DATE&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;90&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;) &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; ,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;'ONE'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: purple; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: purple; font-size: 9pt;"&gt;today&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;() -(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: green; font-size: 9pt;"&gt;INV_DATE&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;90&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;) &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;30&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; ,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;'TWO'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: purple; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: purple; font-size: 9pt;"&gt;today&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; () -(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: green; font-size: 9pt;"&gt;INV_DATE&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;90&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;) &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;60&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;'THREE'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: purple; font-size: 9pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: purple; font-size: 9pt;"&gt;today&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; ()- (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: green; font-size: 9pt;"&gt;INV_DATE&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;90&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;) &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;90&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;'FOUR'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;'REST'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)))))&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;elseif&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;CUSTOMER=54 &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;then&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(today() -[Deli_Date] &amp;lt;= 0 ,'ONE', &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(today() -[ Deli_Date] &amp;lt;= 30 ,'TWO', &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(today () -[ Deli_Date] &amp;lt;= 60,'THREE', &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;If&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(today ()- [Deli_Date] &amp;lt;= 90,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;'FOUR', 'REST')))); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;else &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(today() -[Date] &amp;lt;= 0 ,'ONE', &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(today() -[Date] &amp;lt;= 30 ,'TWO', &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(today () -[Date] &amp;lt;= 60,'THREE', &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;If&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(today ()- [Date] &amp;lt;= 90, 'FOUR', 'REST'))))) as [Aged];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;endif &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;Regards&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;Joe&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2012 06:29:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-IF-Elseif/m-p/284582#M105783</guid>
      <dc:creator />
      <dc:date>2012-01-18T06:29:21Z</dc:date>
    </item>
    <item>
      <title>Help in IF Elseif</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-IF-Elseif/m-p/284583#M105784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Joe,&lt;/P&gt;&lt;P&gt;Try This Code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(CUSTOMER=400, &lt;BR /&gt; if(today() -(INV_DATE+90) &amp;lt;= 0,'ONE',&lt;BR /&gt; if(today() -(INV_DATE+90) &amp;lt;= 30,'TWO',&lt;BR /&gt; if(today () -(INV_DATE+90) &amp;lt;= 60,'THREE',&lt;BR /&gt; If(today ()- (INV_DATE+90) &amp;lt;= 90, 'FOUR', 'REST')))),&lt;BR /&gt; &lt;BR /&gt;If(CUSTOMER=54, &lt;BR /&gt; if(today() -[Deli_Date] &amp;lt;= 0 ,'ONE',&lt;BR /&gt; if(today() -[ Deli_Date] &amp;lt;= 30 ,'TWO',&lt;BR /&gt; if(today () -[ Deli_Date] &amp;lt;= 60,'THREE',&lt;BR /&gt; If(today ()- [Deli_Date] &amp;lt;= 90,'FOUR', 'REST')))),&lt;/P&gt;&lt;P&gt;If(today() -[Date] &amp;lt;= 0 ,'ONE',&lt;BR /&gt;if(today() -[Date] &amp;lt;= 30 ,'TWO',&lt;BR /&gt;if(today () -[Date] &amp;lt;= 60,'THREE',&lt;BR /&gt;If(today ()- [Date] &amp;lt;= 90, 'FOUR', 'REST')))))) as [Aged] &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2012 06:36:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-IF-Elseif/m-p/284583#M105784</guid>
      <dc:creator>vijay_iitkgp</dc:creator>
      <dc:date>2012-01-18T06:36:35Z</dc:date>
    </item>
    <item>
      <title>Help in IF Elseif</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-IF-Elseif/m-p/284584#M105785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Vijay, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excellent,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it works, can you advise me where I made the mistake because I read the document and I tried.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2012 07:34:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-IF-Elseif/m-p/284584#M105785</guid>
      <dc:creator />
      <dc:date>2012-01-18T07:34:40Z</dc:date>
    </item>
    <item>
      <title>Help in IF Elseif</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-IF-Elseif/m-p/284585#M105786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hey Joe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qlikview does not support If ...Then ...Else. Here everything can be achieved by using Comma.&lt;/P&gt;&lt;P&gt;Also most imortent is how you place parenthesis. Once you go through the code you will understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rehards&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2012 07:56:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-IF-Elseif/m-p/284585#M105786</guid>
      <dc:creator>vijay_iitkgp</dc:creator>
      <dc:date>2012-01-18T07:56:18Z</dc:date>
    </item>
    <item>
      <title>Help in IF Elseif</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-IF-Elseif/m-p/284586#M105787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QlikView does indeed support&lt;STRONG&gt; IF ... THEN ... ELSE&lt;/STRONG&gt;. But that is a &lt;EM&gt;control statement &lt;/EM&gt;and should be used "outside" the Load-statement.&lt;BR /&gt; &lt;BR /&gt;But in this case you need the if-function: &lt;STRONG&gt;if(&amp;lt;condition&amp;gt;, &amp;lt;value_for_true&amp;gt;, &amp;lt;value_for_false&amp;gt;)&lt;/STRONG&gt; inside the Load statement. Which is exactly what Vijay indicates in his answer.&lt;BR /&gt; /HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2012 08:43:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-IF-Elseif/m-p/284586#M105787</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2012-01-18T08:43:10Z</dc:date>
    </item>
  </channel>
</rss>

