<?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: Date flags in Visualization and Usability</title>
    <link>https://community.qlik.com/t5/Visualization-and-Usability/Date-flags/m-p/1837045#M191663</link>
    <description>&lt;P&gt;Yes you are correct&lt;/P&gt;</description>
    <pubDate>Fri, 17 Sep 2021 13:41:25 GMT</pubDate>
    <dc:creator>chinmayadash07</dc:creator>
    <dc:date>2021-09-17T13:41:25Z</dc:date>
    <item>
      <title>Date flags</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Date-flags/m-p/1836761#M191628</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have a date field and would like to highlight when the date is older than today 'expired' or with 3 months until today 'due'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following but i am not getting the correct results.&lt;/P&gt;&lt;P&gt;if(cert_expiry&amp;lt;= Today(), 'Expired') as AuditExpired,&lt;BR /&gt;if(cert_expiry &amp;lt; today() +90, 'Due') as AuditDue,&lt;/P&gt;&lt;P&gt;as the backgound colour measure i use the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=If([AuditExpired]='Expired' ,RGB(188, 46, 39),&lt;BR /&gt;If([AuditDue] ='Due' ,RGB(244, 192, 37)&lt;BR /&gt;))&lt;/P&gt;&lt;P&gt;but when i look at the attached below i see some dates are not correctly coloured&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="davyqliks_0-1631808708151.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/62085iB036CA43D4C4F9F2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="davyqliks_0-1631808708151.png" alt="davyqliks_0-1631808708151.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am hoping one the the experts can assist on why some are coloured and some not.&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:35:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Date-flags/m-p/1836761#M191628</guid>
      <dc:creator>davyqliks</dc:creator>
      <dc:date>2024-11-15T22:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Date flags</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Date-flags/m-p/1836775#M191631</link>
      <description>&lt;P&gt;My suggestion just check the date format first for cert_expiry if its matching with Today() Format, once that is done please check the formula, instead of creating two field create a single column&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if(cert_expiry&amp;lt; Today(), 'Expired'&amp;nbsp; ,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if(cert_expiry &amp;gt; =today() +90, 'Due','Ontime')) as Expired_DueFlag&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;in your expression you are giving todays date as both expired as well as due. i believe for due it needs be today+90 days, that says , in next 3 months from today&amp;nbsp; , which comes under due. Please correct me if my understanding is correct&lt;/P&gt;</description>
      <pubDate>Thu, 16 Sep 2021 17:24:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Date-flags/m-p/1836775#M191631</guid>
      <dc:creator>chinmayadash07</dc:creator>
      <dc:date>2021-09-16T17:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Date flags</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Date-flags/m-p/1836911#M191650</link>
      <description>&lt;P&gt;Thankyou for the reply&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/37759"&gt;@chinmayadash07&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;May i just confirm the Today() function uses the Date variable in the load?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SET DateFormat='DD/MM/YYYY';&lt;/P&gt;&lt;P&gt;thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Sep 2021 09:06:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Date-flags/m-p/1836911#M191650</guid>
      <dc:creator>davyqliks</dc:creator>
      <dc:date>2021-09-17T09:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Date flags</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Date-flags/m-p/1837045#M191663</link>
      <description>&lt;P&gt;Yes you are correct&lt;/P&gt;</description>
      <pubDate>Fri, 17 Sep 2021 13:41:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Date-flags/m-p/1837045#M191663</guid>
      <dc:creator>chinmayadash07</dc:creator>
      <dc:date>2021-09-17T13:41:25Z</dc:date>
    </item>
  </channel>
</rss>

