<?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: Conditional formatting in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-formatting/m-p/1089613#M931311</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the script,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Date#(Year&amp;amp;Month&amp;amp;Date,'YYYYMMMD') as NewDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Background color condition:&lt;/P&gt;&lt;P&gt;=If(NewDate&amp;lt;Today() and Sum(Sales)&amp;lt;500, LightRed())&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Mar 2016 07:12:12 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2016-03-04T07:12:12Z</dc:date>
    <item>
      <title>Conditional formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-formatting/m-p/1089611#M931309</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;Please see attached file and need assistance to do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Amend the script so that the date is combined in 1 column in the format DD-MM-YYYY&lt;/P&gt;&lt;P&gt;2) Conditional format the date cells to highlight e.g. Sales &amp;lt; 500 prior to today()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shamit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-formatting/m-p/1089611#M931309</guid>
      <dc:creator>shamitshah</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-formatting/m-p/1089612#M931310</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;Check the attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Date expression:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Makedate(Year, Num(Month(date#(Month,'MMM'))), Date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use this while load the data like Makedate(Year, num(month(date#(Month,'MMM'))), Date) as CompleteDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Conditional Format Expression:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Makedate(Year, Num(Month(date#(Month,'MMM'))), Date)&amp;lt; Today() and Sum(Sales)&amp;lt;500, LightRed(),LightGreen())&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 07:06:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-formatting/m-p/1089612#M931310</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-03-04T07:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-formatting/m-p/1089613#M931311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the script,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Date#(Year&amp;amp;Month&amp;amp;Date,'YYYYMMMD') as NewDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Background color condition:&lt;/P&gt;&lt;P&gt;=If(NewDate&amp;lt;Today() and Sum(Sales)&amp;lt;500, LightRed())&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 07:12:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-formatting/m-p/1089613#M931311</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-03-04T07:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-formatting/m-p/1089614#M931312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shamit,&lt;/P&gt;&lt;P&gt;for the specified format &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;the format DD-MM-YYYY u can use like&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; Date &amp;amp;''&amp;amp; Month&amp;amp;''&amp;amp;&amp;nbsp; Year as fullday&lt;/P&gt;&lt;P&gt;select the color as red&lt;/P&gt;&lt;P&gt;and check the attachment screen shot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 07:25:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-formatting/m-p/1089614#M931312</guid>
      <dc:creator>ramasaisaksoft</dc:creator>
      <dc:date>2016-03-04T07:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-formatting/m-p/1089615#M931313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tamil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently all the cells in the Sales column are highlighted either red or green.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try to tweak your solution so that Sales with dates &amp;gt; today() do not get highlighted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shamit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 08:02:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-formatting/m-p/1089615#M931313</guid>
      <dc:creator>shamitshah</dc:creator>
      <dc:date>2016-03-04T08:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-formatting/m-p/1089616#M931314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rama&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see my earlier response to Tamil.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In specific, I only want to highlight the cells where Sales &amp;lt; 500, but only in relation to sales prior to today().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution proposed by Tamil on the date format works. I have added it as an added dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 08:25:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-formatting/m-p/1089616#M931314</guid>
      <dc:creator>shamitshah</dc:creator>
      <dc:date>2016-03-04T08:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-formatting/m-p/1089617#M931315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shamit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have added lightgreen() to highlight the cells where the sales &amp;gt; 500. If you want to highlight for sales &amp;lt; 500, then simply use,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;If(CompleteDate &amp;lt; Today(), If(Sum(Sales) &amp;lt; 500, LightRed(),Lightgreen()))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;You can use some light colors by using RGB() function.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Edit: I misunderstood your last response. Updated the expression.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 09:06:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-formatting/m-p/1089617#M931315</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-03-04T09:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-formatting/m-p/1089618#M931316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have now included the date solution as a dimension as proposed by Tamil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I incorporated an expression in the background color option under this dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea how I can amend it so that Sales &amp;lt; 200 are highlighted red and Sales &amp;gt; 200 are highlighted green at same time taking into account the date? I have the changed the threshold from 500 to 200.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 09:24:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-formatting/m-p/1089618#M931316</guid>
      <dc:creator>shamitshah</dc:creator>
      <dc:date>2016-03-04T09:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-formatting/m-p/1089619#M931317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use below expression for new threshold.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;If(DateField&amp;lt; Today(), If(Sum(Sales)&amp;lt;200, LightRed(),LightGreen()))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Mar 2016 05:01:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-formatting/m-p/1089619#M931317</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-03-05T05:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-formatting/m-p/1089620#M931318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tamil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Mar 2016 05:52:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-formatting/m-p/1089620#M931318</guid>
      <dc:creator>shamitshah</dc:creator>
      <dc:date>2016-03-05T05:52:54Z</dc:date>
    </item>
  </channel>
</rss>

