<?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: Cant get nested 'if' statement to work. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cant-get-nested-if-statement-to-work/m-p/336501#M1177366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes that worked! Thankyou!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had to make minor modification to it to accomodate for the American date system like so :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 8pt;"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;Created_On&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;'YYYY-MM-DD'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 8pt;"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;'2010.04.01'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;'YYYY-MM-DD'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;AND&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: purple; font-size: 8pt; font-family: 'Courier New';"&gt;If&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 8pt; font-family: 'Courier New';"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 8pt; font-family: 'Courier New';"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: green; font-size: 8pt; font-family: 'Courier New';"&gt;Created_On&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt;'YYYY-MM-DD'&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;)) &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 8pt; font-family: 'Courier New';"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 8pt; font-family: 'Courier New';"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt;'2010.04.01'&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt;'YYYY-MM-DD'&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;)) &lt;/SPAN&gt;&lt;STRONG style=": ; color: blue; font-size: 8pt; font-family: 'Courier New'; font-weight: bold;"&gt;AND&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New; color: #000000; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 8pt; font-family: 'Courier New';"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 8pt; font-family: 'Courier New';"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: green; font-size: 8pt; font-family: 'Courier New';"&gt;Created_On&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt;'YYYY-MM-DD'&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;)) &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 8pt; font-family: 'Courier New';"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 8pt; font-family: 'Courier New';"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt;'2011.03.31'&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt;'YYYY-MM-DD'&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;)), &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt;'10/11'&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: purple; font-size: 8pt; font-family: 'Courier New';"&gt;If&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 8pt; font-family: 'Courier New';"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 8pt; font-family: 'Courier New';"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: green; font-size: 8pt; font-family: 'Courier New';"&gt;Created_On&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt;'YYYY-MM-DD'&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;)) &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 8pt; font-family: 'Courier New';"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 8pt; font-family: 'Courier New';"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt;'2011.04.01'&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt;'YYYY-MM-DD'&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;)) &lt;/SPAN&gt;&lt;STRONG style=": ; color: blue; font-size: 8pt; font-family: 'Courier New'; font-weight: bold;"&gt;AND&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New; color: #000000; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 8pt; font-family: 'Courier New';"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 8pt; font-family: 'Courier New';"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: green; font-size: 8pt; font-family: 'Courier New';"&gt;Created_On&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt;'YYYY-MM-DD'&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;)) &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 8pt; font-family: 'Courier New';"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 8pt; font-family: 'Courier New';"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt;'2012.03.31'&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt;'YYYY-MM-DD'&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;)), &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt;'10/12'&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;)) &lt;/SPAN&gt;&lt;STRONG style=": ; color: blue; font-size: 8pt; font-family: 'Courier New'; font-weight: bold;"&gt;AS&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New; color: #000000; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: green; font-size: 8pt; font-family: 'Courier New';"&gt;COD&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Mar 2012 16:21:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-03-05T16:21:59Z</dc:date>
    <item>
      <title>Cant get nested 'if' statement to work.</title>
      <link>https://community.qlik.com/t5/QlikView/Cant-get-nested-if-statement-to-work/m-p/336499#M1177364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: purple; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: green; font-size: 8pt;"&gt;Created_On&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 8pt;"&gt;=&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 8pt;"&gt;'2010-04-01'&lt;/SPAN&gt; &lt;STRONG style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt;or&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; color: green; font-size: 8pt;"&gt;Created_On&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 8pt;"&gt;&amp;lt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 8pt;"&gt;'2011-03-31'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 8pt;"&gt;'10/11'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: purple; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: green; font-size: 8pt;"&gt;Created_On&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 8pt;"&gt;=&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 8pt;"&gt;'2011-04-01'&lt;/SPAN&gt; &lt;STRONG style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt;or&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; color: green; font-size: 8pt;"&gt;Created_On&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 8pt;"&gt;&amp;lt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 8pt;"&gt;'2012-03-31'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 8pt;"&gt;'11/12'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt;as&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; color: green; font-size: 8pt;"&gt;COD &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: green; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: green; font-size: 8pt;"&gt;Qlikview tells me &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Error in expression:&lt;/P&gt;&lt;P&gt;')' expected&lt;/P&gt;&lt;P&gt;TABLE_1: &lt;/P&gt;&lt;P&gt;LOAD if(Created_On=&amp;gt;'2010-04-01' or Created_On&amp;lt;='2011-03-31','10/11',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Created_On=&amp;gt;'2011-04-01' or Created_On&amp;lt;='2012-03-31','11/12')) as COD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why is this when im clearly not missing any parenthesis?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2012 16:05:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cant-get-nested-if-statement-to-work/m-p/336499#M1177364</guid>
      <dc:creator />
      <dc:date>2012-03-05T16:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Cant get nested 'if' statement to work.</title>
      <link>https://community.qlik.com/t5/QlikView/Cant-get-nested-if-statement-to-work/m-p/336500#M1177365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The greater than or equal to operator is "&amp;gt;=" instead of "=&amp;gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD *, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Date(Date#(Created_On, 'DD.MM.YYYY')) &amp;gt;= Date(Date#('01.04.2010', 'DD.MM.YYYY')) AND Date(Date#(Created_On, 'DD.MM.YYYY')) &amp;lt;= Date(Date#('31.03.2011', 'DD.MM.YYYY')), '10/11',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Date(Date#(Created_On, 'DD.MM.YYYY')) &amp;gt;= Date(Date#('01.04.2011', 'DD.MM.YYYY')) AND Date(Date#(Created_On, 'DD.MM.YYYY')) &amp;lt;= Date(Date#('31.03.2012', 'DD.MM.YYYY')), '11/12')) AS COD &lt;/P&gt;&lt;P&gt;INLINE [&lt;/P&gt;&lt;P&gt;ID, Name, Created_On&lt;/P&gt;&lt;P&gt;1, AAA, 15.02.2011&lt;/P&gt;&lt;P&gt;2, BBB, 12.01.2012&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2012 16:09:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cant-get-nested-if-statement-to-work/m-p/336500#M1177365</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-03-05T16:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cant get nested 'if' statement to work.</title>
      <link>https://community.qlik.com/t5/QlikView/Cant-get-nested-if-statement-to-work/m-p/336501#M1177366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes that worked! Thankyou!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had to make minor modification to it to accomodate for the American date system like so :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 8pt;"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;Created_On&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;'YYYY-MM-DD'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 8pt;"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;'2010.04.01'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;'YYYY-MM-DD'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;AND&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: purple; font-size: 8pt; font-family: 'Courier New';"&gt;If&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 8pt; font-family: 'Courier New';"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 8pt; font-family: 'Courier New';"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: green; font-size: 8pt; font-family: 'Courier New';"&gt;Created_On&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt;'YYYY-MM-DD'&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;)) &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 8pt; font-family: 'Courier New';"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 8pt; font-family: 'Courier New';"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt;'2010.04.01'&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt;'YYYY-MM-DD'&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;)) &lt;/SPAN&gt;&lt;STRONG style=": ; color: blue; font-size: 8pt; font-family: 'Courier New'; font-weight: bold;"&gt;AND&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New; color: #000000; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 8pt; font-family: 'Courier New';"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 8pt; font-family: 'Courier New';"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: green; font-size: 8pt; font-family: 'Courier New';"&gt;Created_On&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt;'YYYY-MM-DD'&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;)) &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 8pt; font-family: 'Courier New';"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 8pt; font-family: 'Courier New';"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt;'2011.03.31'&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt;'YYYY-MM-DD'&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;)), &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt;'10/11'&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: purple; font-size: 8pt; font-family: 'Courier New';"&gt;If&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 8pt; font-family: 'Courier New';"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 8pt; font-family: 'Courier New';"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: green; font-size: 8pt; font-family: 'Courier New';"&gt;Created_On&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt;'YYYY-MM-DD'&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;)) &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 8pt; font-family: 'Courier New';"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 8pt; font-family: 'Courier New';"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt;'2011.04.01'&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt;'YYYY-MM-DD'&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;)) &lt;/SPAN&gt;&lt;STRONG style=": ; color: blue; font-size: 8pt; font-family: 'Courier New'; font-weight: bold;"&gt;AND&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New; color: #000000; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 8pt; font-family: 'Courier New';"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 8pt; font-family: 'Courier New';"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: green; font-size: 8pt; font-family: 'Courier New';"&gt;Created_On&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt;'YYYY-MM-DD'&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;)) &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 8pt; font-family: 'Courier New';"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: purple; font-size: 8pt; font-family: 'Courier New';"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt;'2012.03.31'&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt;'YYYY-MM-DD'&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;)), &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 8pt; font-family: 'Courier New';"&gt;'10/12'&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt;)) &lt;/SPAN&gt;&lt;STRONG style=": ; color: blue; font-size: 8pt; font-family: 'Courier New'; font-weight: bold;"&gt;AS&lt;/STRONG&gt;&lt;SPAN style="font-family: Courier New; color: #000000; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: green; font-size: 8pt; font-family: 'Courier New';"&gt;COD&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 8pt; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2012 16:21:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cant-get-nested-if-statement-to-work/m-p/336501#M1177366</guid>
      <dc:creator />
      <dc:date>2012-03-05T16:21:59Z</dc:date>
    </item>
  </channel>
</rss>

