<?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: How to highlight cell in a specific colour in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-highlight-cell-in-a-specific-colour/m-p/483521#M1123835</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;Put RGB in Background color.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Rajesh Vaswani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jan 2014 10:09:50 GMT</pubDate>
    <dc:creator>rajeshvaswani77</dc:creator>
    <dc:date>2014-01-15T10:09:50Z</dc:date>
    <item>
      <title>How to highlight cell in a specific colour</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-highlight-cell-in-a-specific-colour/m-p/483516#M1123830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Calibri; font-size: 12pt;"&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="color: black; font-family: Calibri; font-size: 12pt;"&gt;I have read multiple threads about cell highlighting certain colours, but the issue I am facing is actually writing the expression. I have a table with technology names and dates of when the technology will start its retire lifecycle and when it ends. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="431"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="116"&gt;TechnologyName&lt;/TD&gt;&lt;TD width="99"&gt;LifecyclePhase&lt;/TD&gt;&lt;TD width="111"&gt;Retire_StartDate&lt;/TD&gt;&lt;TD width="105"&gt;Retire_EndDate&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;SAN Switch&lt;/TD&gt;&lt;TD&gt;Retire&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;19/12/2013&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;07/10/2014&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;PowerEdge&lt;/TD&gt;&lt;TD&gt;Retire&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;15/11/2013&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;02/02/2014&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;Tapes&lt;/TD&gt;&lt;TD&gt;Legacy&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;05/03/2014&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;01/04/2014&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;Windows Server&lt;/TD&gt;&lt;TD&gt;Retire&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;07/10/2014&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;&lt;P&gt;07/10/2016&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="color: black; font-family: Calibri; font-size: 12pt;"&gt;When the &lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Calibri; font-size: 12pt;"&gt;Retire_EndDate &lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Calibri; font-size: 12pt;"&gt;is within 70 days or less from today, I want the background of the cell to highlight red, otherwise it will stay green. I've achieved this on different platforms using something &lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Calibri; font-size: 12pt;"&gt;something &lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Calibri; font-size: 12pt;"&gt;along the lines of "&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Calibri; font-size: 12pt;"&gt;DateDiff&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Calibri; font-size: 12pt;"&gt;("&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Calibri; font-size: 12pt;"&gt;day",Date&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Calibri; font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Calibri; font-size: 12pt;"&gt;DateTimeNow&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Calibri; font-size: 12pt;"&gt;()),[&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Calibri; font-size: 12pt;"&gt;Retire_EndDate&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Calibri; font-size: 12pt;"&gt;])&amp;lt;70" However &lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Calibri; font-size: 12pt;"&gt;Qlikview &lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Calibri; font-size: 12pt;"&gt;does not accept &lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Calibri; font-size: 12pt;"&gt;DateDiff&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Calibri; font-size: 12pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="color: black; font-family: Calibri; font-size: 12pt;"&gt;Can anyone help with the expression in how to do this and incorporate colour?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="color: black; font-family: Calibri; font-size: 12pt;"&gt;Many thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 13:28:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-highlight-cell-in-a-specific-colour/m-p/483516#M1123830</guid>
      <dc:creator />
      <dc:date>2014-01-08T13:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to highlight cell in a specific colour</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-highlight-cell-in-a-specific-colour/m-p/483517#M1123831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if((today()-[Retire_StartDate])&amp;lt;70,Red(),Green())&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 13:34:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-highlight-cell-in-a-specific-colour/m-p/483517#M1123831</guid>
      <dc:creator />
      <dc:date>2014-01-08T13:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to highlight cell in a specific colour</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-highlight-cell-in-a-specific-colour/m-p/483518#M1123832</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;Day differences are a simple subtraction:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Today - Retire_EndDate &amp;lt; 70, LightRed(), LightGreen())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 13:34:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-highlight-cell-in-a-specific-colour/m-p/483518#M1123832</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-01-08T13:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to highlight cell in a specific colour</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-highlight-cell-in-a-specific-colour/m-p/483519#M1123833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pls check enclosed file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 13:38:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-highlight-cell-in-a-specific-colour/m-p/483519#M1123833</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-01-08T13:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to highlight cell in a specific colour</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-highlight-cell-in-a-specific-colour/m-p/483520#M1123834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Manish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately I cannot open the file as I am using Personal Edition. I thank everyone for their feedback but I'm still struggling in trying to get it to work. The steps I took:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create Straight table &amp;gt; In Dimensions tab, under Used Dimensions I add Retire_EndDate &amp;gt; In Expressions tab, under Definitions I enter =if((today()-[Retire_EndDate])&amp;lt;70,LightRed(),LightGreen()) &amp;gt; Finish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The below is what is created, it just shows the html colour for red. Are you able to advise?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards, Thuy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Chart.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/51534_Chart.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2014 10:05:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-highlight-cell-in-a-specific-colour/m-p/483520#M1123834</guid>
      <dc:creator />
      <dc:date>2014-01-15T10:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to highlight cell in a specific colour</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-highlight-cell-in-a-specific-colour/m-p/483521#M1123835</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;Put RGB in Background color.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Rajesh Vaswani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2014 10:09:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-highlight-cell-in-a-specific-colour/m-p/483521#M1123835</guid>
      <dc:creator>rajeshvaswani77</dc:creator>
      <dc:date>2014-01-15T10:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to highlight cell in a specific colour</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-highlight-cell-in-a-specific-colour/m-p/483522#M1123836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Under expression tab,&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/51538_Untitled.png" style="width: 620px; height: 390px;" /&gt;&lt;/P&gt;&lt;P&gt;Write that rgb expression here.&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;-Shruti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2014 10:16:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-highlight-cell-in-a-specific-colour/m-p/483522#M1123836</guid>
      <dc:creator />
      <dc:date>2014-01-15T10:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to highlight cell in a specific colour</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-highlight-cell-in-a-specific-colour/m-p/483523#M1123837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rajesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your prompt reply. So I have removed from Expressions tab under Definitions the code and replaced it with "Retire_EndDate". Then I added =if((today()-[Retire_EndDate])&amp;lt;70,LightRed(),LightGreen()) to Background Colour. Thithe below is what I see, all the coloums should not be red.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Chart.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/51535_Chart.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2014 10:17:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-highlight-cell-in-a-specific-colour/m-p/483523#M1123837</guid>
      <dc:creator />
      <dc:date>2014-01-15T10:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to highlight cell in a specific colour</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-highlight-cell-in-a-specific-colour/m-p/483524#M1123838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;(today()-[Retire_EndDate]) will always give you -ve value.&lt;/P&gt;&lt;P&gt;Please try using ([Retire_EndDate]-today()) instead or use fabs.&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;-Shruti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2014 10:25:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-highlight-cell-in-a-specific-colour/m-p/483524#M1123838</guid>
      <dc:creator />
      <dc:date>2014-01-15T10:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Re: How to highlight cell in a specific colour</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-highlight-cell-in-a-specific-colour/m-p/483525#M1123839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For color, you need to add your expression as per below.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2014 10:25:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-highlight-cell-in-a-specific-colour/m-p/483525#M1123839</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-01-15T10:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Re: How to highlight cell in a specific colour</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-highlight-cell-in-a-specific-colour/m-p/483526#M1123840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you everyone for your feedback. I managed to get the colour working as expected. Really grateful!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards, Thuy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2014 10:34:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-highlight-cell-in-a-specific-colour/m-p/483526#M1123840</guid>
      <dc:creator />
      <dc:date>2014-01-15T10:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to highlight cell in a specific colour</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-highlight-cell-in-a-specific-colour/m-p/483527#M1123841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thuy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use following expression in background of &lt;STRONG&gt;Retire_EndDate &lt;/STRONG&gt;Dimension. this will solve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Num(Today())-Num(Date(Retire_EndDate,'DD/MM/YYYY')&amp;gt;'70',Red(),Green())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Kiran Rode&lt;/P&gt;&lt;P&gt;+91 8976977897&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2014 10:48:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-highlight-cell-in-a-specific-colour/m-p/483527#M1123841</guid>
      <dc:creator>kiranmanoharrode</dc:creator>
      <dc:date>2014-01-15T10:48:26Z</dc:date>
    </item>
  </channel>
</rss>

