<?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: Problem with if condition and comparison dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-if-condition-and-comparison-dates/m-p/1271793#M400003</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i found that the CREATION_DATE&amp;lt;=$(UDATE) need&amp;nbsp; '&amp;nbsp; like CREATION_DATE&amp;lt;=&lt;STRONG&gt;'&lt;/STRONG&gt;$(UDATE)&lt;STRONG&gt;'&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Mar 2017 13:26:19 GMT</pubDate>
    <dc:creator>geogou1973</dc:creator>
    <dc:date>2017-03-11T13:26:19Z</dc:date>
    <item>
      <title>Problem with if condition and comparison dates</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-if-condition-and-comparison-dates/m-p/1271792#M400002</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 have the following formula in the background color of a field dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(COMPANY_CODE='01',argb(150,255,128,0),&lt;/P&gt;&lt;P&gt; IF(COMPANY_CODE=02 and CREATION_DATE&amp;lt;=$(UDATE),argb(150,128,255,128),&lt;/P&gt;&lt;P&gt; if(COMPANY_CODE='02',argb(255,255,255,255),&lt;/P&gt;&lt;P&gt; if(COMPANY_CODE='03',argb(150,0,101,179),&lt;/P&gt;&lt;P&gt; if(COMPANY_CODE='04',argb(150,100,177,255)))))) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;unfortunately the the comparison of the date CREATION_DATE&amp;lt;=$(UDATE) does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Mar 2017 13:06:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-if-condition-and-comparison-dates/m-p/1271792#M400002</guid>
      <dc:creator>geogou1973</dc:creator>
      <dc:date>2017-03-11T13:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with if condition and comparison dates</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-if-condition-and-comparison-dates/m-p/1271793#M400003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i found that the CREATION_DATE&amp;lt;=$(UDATE) need&amp;nbsp; '&amp;nbsp; like CREATION_DATE&amp;lt;=&lt;STRONG&gt;'&lt;/STRONG&gt;$(UDATE)&lt;STRONG&gt;'&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Mar 2017 13:26:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-if-condition-and-comparison-dates/m-p/1271793#M400003</guid>
      <dc:creator>geogou1973</dc:creator>
      <dc:date>2017-03-11T13:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with if condition and comparison dates</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-if-condition-and-comparison-dates/m-p/1271794#M400004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the date format of your CREATION_DATE field and in your variable $(UDATE). &lt;/P&gt;&lt;P&gt;DId you try giving single quotes around your variable as you mentioned like '$(UDATE)' ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Mar 2017 15:16:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-if-condition-and-comparison-dates/m-p/1271794#M400004</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-03-11T15:16:30Z</dc:date>
    </item>
  </channel>
</rss>

