<?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: Background color based on another fields value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Background-color-based-on-another-fields-value/m-p/1635315#M732609</link>
    <description>&lt;P&gt;Perfect - Thank you, i knew i wasn't too far away!&lt;/P&gt;&lt;P&gt;I'm guessing i could use RGB codes instead of the 'LightRed' etc (as the colours are a little brash.&lt;/P&gt;&lt;P&gt;Thank you again.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Oct 2019 10:47:29 GMT</pubDate>
    <dc:creator>peterderrington</dc:creator>
    <dc:date>2019-10-15T10:47:29Z</dc:date>
    <item>
      <title>Background color based on another fields value</title>
      <link>https://community.qlik.com/t5/QlikView/Background-color-based-on-another-fields-value/m-p/1635303#M732607</link>
      <description>&lt;P&gt;A simple one i'm sure but i cant seem to get the syntax right -&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a straight table with 6 columns and i want to highlight the boxes based on the values of the preseeding column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;eg, if the value in column two is higher than the value in column three then i want it to be red otherwise it can be green&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had thought of using 'Visual Cues' but on looking through the forum most people seem to advise on an expression in the 'Background color' section.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have this expression in there at the moment but its not working, any ideas?&lt;/P&gt;&lt;P&gt;If(Sum('No: of times a Handover should have occured')&amp;gt;(Sum('No: of Handovers - Last Week')),LightGreen(),LightRed())&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-color-based-on-another-fields-value/m-p/1635303#M732607</guid>
      <dc:creator>peterderrington</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Background color based on another fields value</title>
      <link>https://community.qlik.com/t5/QlikView/Background-color-based-on-another-fields-value/m-p/1635310#M732608</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Try the the expressions background colour.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can tailor this to you report&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=If(Column(1)=Column(2),LightGreen(),LightRed())&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Each column can be referenced by a column number, if you are not sure what your column number is you can put =Column(1) in an expression and see what data it displays&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_0.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/21513i957A11FE5F0B9721/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_0.png" alt="clipboard_image_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2019 10:40:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-color-based-on-another-fields-value/m-p/1635310#M732608</guid>
      <dc:creator>Victor_Alumanah</dc:creator>
      <dc:date>2019-10-15T10:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Background color based on another fields value</title>
      <link>https://community.qlik.com/t5/QlikView/Background-color-based-on-another-fields-value/m-p/1635315#M732609</link>
      <description>&lt;P&gt;Perfect - Thank you, i knew i wasn't too far away!&lt;/P&gt;&lt;P&gt;I'm guessing i could use RGB codes instead of the 'LightRed' etc (as the colours are a little brash.&lt;/P&gt;&lt;P&gt;Thank you again.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2019 10:47:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-color-based-on-another-fields-value/m-p/1635315#M732609</guid>
      <dc:creator>peterderrington</dc:creator>
      <dc:date>2019-10-15T10:47:29Z</dc:date>
    </item>
  </channel>
</rss>

