<?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 statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/IF-statement/m-p/693000#M250678</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;combination of your first and second condition:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_133245_Pic3.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/66696_QlikCommunity_Thread_133245_Pic3.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_133245_Pic4.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/66697_QlikCommunity_Thread_133245_Pic4.JPG.jpg" style="width: 620px; height: 429px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps also&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>Sun, 14 Sep 2014 20:30:59 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2014-09-14T20:30:59Z</dc:date>
    <item>
      <title>IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement/m-p/692994#M250672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to display color in the column when a certain condition is met. I have the following IF statement in the Background Color in the Expression tab of the Chart Properties. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My condition is&lt;/P&gt;&lt;P&gt;If the status is Not Started and the Quarter has passed then display Red.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My IF statement is&lt;/P&gt;&lt;P&gt;IF(Status = 'Not Started' AND Now() &amp;gt; End_Quarter, RGB(255,0,0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This does not give me the desired results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also have another condition&lt;/P&gt;&lt;P&gt;If Status is Started and End Quarter has passed and there is no Completion Date then display Red.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Sep 2014 19:54:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement/m-p/692994#M250672</guid>
      <dc:creator />
      <dc:date>2014-09-14T19:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement/m-p/692995#M250673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Two comments:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- are you sure intern format for &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; Now() &amp;gt; End_Quarter,&amp;nbsp; both in Date Format?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;- the beguining of expression with a =&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Sep 2014 20:04:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement/m-p/692995#M250673</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2014-09-14T20:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement/m-p/692996#M250674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;I did have the = before the expression.&lt;/P&gt;&lt;P&gt;My End_Quarter is 1,2,3,4, TBD etc.&lt;/P&gt;&lt;P&gt;I have the quarter as 1 which in date should be Mar 31, 2 which in date should be June 30 and so on.&lt;/P&gt;&lt;P&gt;Can you please suggest on how to get this working? &lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Sep 2014 20:19:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement/m-p/692996#M250674</guid>
      <dc:creator />
      <dc:date>2014-09-14T20:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement/m-p/692997#M250675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You try to use Today() instead of Now()&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Sep 2014 20:20:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement/m-p/692997#M250675</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2014-09-14T20:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement/m-p/692998#M250676</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;should work like you intended:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_133245_Pic1.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/66694_QlikCommunity_Thread_133245_Pic1.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_133245_Pic2.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/66695_QlikCommunity_Thread_133245_Pic2.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&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>Sun, 14 Sep 2014 20:22:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement/m-p/692998#M250676</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-09-14T20:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement/m-p/692999#M250677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried Today and Now, same result, not the desired result. I think it is because of the format. How can I fix it? Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Sep 2014 20:24:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement/m-p/692999#M250677</guid>
      <dc:creator />
      <dc:date>2014-09-14T20:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement/m-p/693000#M250678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;combination of your first and second condition:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_133245_Pic3.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/66696_QlikCommunity_Thread_133245_Pic3.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_133245_Pic4.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/66697_QlikCommunity_Thread_133245_Pic4.JPG.jpg" style="width: 620px; height: 429px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps also&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>Sun, 14 Sep 2014 20:30:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement/m-p/693000#M250678</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-09-14T20:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement/m-p/693001#M250679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your End_Quarter = 'Mar 31' or 'June 30' You use&lt;/P&gt;&lt;P&gt;Date(Today(),'MM/DD') &amp;gt; Date(Date#(End_Quarter,'MMM DD'),'MM/DD') &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Sep 2014 20:38:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement/m-p/693001#M250679</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2014-09-14T20:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement/m-p/693002#M250680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;Thank you for the help, I am trying to work with your example.&lt;/P&gt;&lt;P&gt;Since, I have the End_Quarter as a number 1, 2, 3 ,4, does that compare to Now()?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Sep 2014 20:51:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement/m-p/693002#M250680</guid>
      <dc:creator />
      <dc:date>2014-09-14T20:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement/m-p/693003#M250681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is best to not use Now() as it recalculates every second. Use Today().&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Sep 2014 21:36:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement/m-p/693003#M250681</guid>
      <dc:creator>davidwhite</dc:creator>
      <dc:date>2014-09-14T21:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: Re: IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement/m-p/693004#M250682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_133245_Pic5.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/66700_QlikCommunity_Thread_133245_Pic5.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_133245_Pic6.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/66704_QlikCommunity_Thread_133245_Pic6.JPG.jpg" style="max-width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&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>Sun, 14 Sep 2014 22:28:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement/m-p/693004#M250682</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-09-14T22:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement/m-p/693005#M250683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am still working on this so I need to add to the same column,&lt;/P&gt;&lt;P&gt;If Status = In Progress, display the color green.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to create an IF statement with 2 conditions in QlikView?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 00:57:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement/m-p/693005#M250683</guid>
      <dc:creator />
      <dc:date>2014-09-18T00:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement/m-p/693006#M250684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please close this thread if your initial question is answered.&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>Thu, 18 Sep 2014 07:28:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement/m-p/693006#M250684</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-09-18T07:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement/m-p/693007#M250685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help, Marco.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking to add one more condition on the same column. I tried adding it and the expression is OK but then it displays all status' as green.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Status = In Progress, display the color green.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(Status = 'In-Progress', IF(Status = 'Not Started' and Div(Month(Now())+2,3) &amp;gt; QTR_END or&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Status = 'Started' and Div(Month(Now())+2,3) &amp;gt; QTR_END and IsNull(COMPLETION_DATE),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RGB(255,0,0), RGB(0,255,0)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 13:40:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement/m-p/693007#M250685</guid>
      <dc:creator />
      <dc:date>2014-09-18T13:40:22Z</dc:date>
    </item>
  </channel>
</rss>

