<?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: Table, background color from two lines condition? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Table-background-color-from-two-lines-condition/m-p/797650#M536057</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanx for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your test is OK, but in my case, i have to replace &lt;STRONG&gt;200&lt;/STRONG&gt; by the other year (year - 1) and i don't want to do the Sum of sales... I just want show values from field "Livraisons"&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: 12.8000001907349px;"&gt;if(Sum({&amp;lt;year={2001}&amp;gt;}sale)&amp;lt;= &lt;STRONG&gt;200&lt;/STRONG&gt;, RGB(0255,0,0),RGB(0,255,0))&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: 12.8000001907349px;"&gt;&lt;BR /&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: 12.8000001907349px;"&gt;An idea?&lt;BR /&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: 12.8000001907349px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Dec 2014 21:39:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-12-29T21:39:37Z</dc:date>
    <item>
      <title>Table, background color from two lines condition?</title>
      <link>https://community.qlik.com/t5/QlikView/Table-background-color-from-two-lines-condition/m-p/797647#M536054</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;I'm working since 3 hours about this problem.&lt;/P&gt;&lt;P&gt;I've this table (picture below) and i want to set cells background to red if&amp;nbsp; "Livraisons" from "2014" are &amp;lt; "Livraisons" 2013.&lt;/P&gt;&lt;P&gt;I've tried Set analysis and many things but i can't find the answer.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="First.jpg" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/74335_First.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I suppose that i must write expression here :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="second.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/74354_second.jpg" style="height: 455px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;I thought to search value in table from year 2013 but i don't know how to do this in expression...&lt;/P&gt;&lt;P&gt;Could you help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2014 15:55:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-background-color-from-two-lines-condition/m-p/797647#M536054</guid>
      <dc:creator />
      <dc:date>2014-12-29T15:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Table, background color from two lines condition?</title>
      <link>https://community.qlik.com/t5/QlikView/Table-background-color-from-two-lines-condition/m-p/797648#M536055</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;&lt;EM style="color: #993300;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ( above(Livraisons) &amp;lt; Livraisons , red() )&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2014 16:21:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-background-color-from-two-lines-condition/m-p/797648#M536055</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-29T16:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Table, background color from two lines condition?</title>
      <link>https://community.qlik.com/t5/QlikView/Table-background-color-from-two-lines-condition/m-p/797649#M536056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Beaulieu Mathieu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Sum({&amp;lt;year={2001}&amp;gt;}sale)&amp;lt;= 200, RGB(0255,0,0),RGB(0,255,0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Sum({&amp;lt;year={2002}&amp;gt;}sale)&amp;lt;= 200, RGB(0255,0,0),RGB(0,255,0))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2014 17:09:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-background-color-from-two-lines-condition/m-p/797649#M536056</guid>
      <dc:creator>rajkumarb</dc:creator>
      <dc:date>2014-12-29T17:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Table, background color from two lines condition?</title>
      <link>https://community.qlik.com/t5/QlikView/Table-background-color-from-two-lines-condition/m-p/797650#M536057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanx for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your test is OK, but in my case, i have to replace &lt;STRONG&gt;200&lt;/STRONG&gt; by the other year (year - 1) and i don't want to do the Sum of sales... I just want show values from field "Livraisons"&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: 12.8000001907349px;"&gt;if(Sum({&amp;lt;year={2001}&amp;gt;}sale)&amp;lt;= &lt;STRONG&gt;200&lt;/STRONG&gt;, RGB(0255,0,0),RGB(0,255,0))&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: 12.8000001907349px;"&gt;&lt;BR /&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: 12.8000001907349px;"&gt;An idea?&lt;BR /&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: 12.8000001907349px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2014 21:39:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-background-color-from-two-lines-condition/m-p/797650#M536057</guid>
      <dc:creator />
      <dc:date>2014-12-29T21:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Table, background color from two lines condition?</title>
      <link>https://community.qlik.com/t5/QlikView/Table-background-color-from-two-lines-condition/m-p/797651#M536058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;you can use the attached one.&lt;/P&gt;&lt;P&gt;!&lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/74356_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 08:08:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-background-color-from-two-lines-condition/m-p/797651#M536058</guid>
      <dc:creator>canariam</dc:creator>
      <dc:date>2014-12-30T08:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Table, background color from two lines condition?</title>
      <link>https://community.qlik.com/t5/QlikView/Table-background-color-from-two-lines-condition/m-p/797652#M536059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, It's working with "Below" function.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 08:38:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-background-color-from-two-lines-condition/m-p/797652#M536059</guid>
      <dc:creator />
      <dc:date>2014-12-30T08:38:06Z</dc:date>
    </item>
  </channel>
</rss>

