<?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 simple Question, clarification needed!  Thanks in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/simple-Question-clarification-needed-Thanks/m-p/182447#M48100</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I have a simple colourisation code as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;if&lt;BR /&gt;&lt;BR /&gt; (Count(&lt;B&gt;$(KPI_Red)&lt;/B&gt;) = 1, rgb(255,0,0&lt;BR /&gt;),&lt;BR /&gt;(&lt;BR /&gt; if(count(&lt;B&gt;$(KPI_Amber)&lt;/B&gt;) = 1, rgb(255,128,0&lt;BR /&gt;),&lt;BR /&gt;rgb&lt;BR /&gt;&lt;BR /&gt; (51,204,128)&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I was wondering that because I have put rgb(255,0,0) in the first line will red take precedence when Qlikview interprets results? I would like it to do so but I am unsure if it is calcultating in this way. Could anyone confirm please? ie if I have 2 results, one is red and one is amber, and I am displaying the count for this (which is 2), I would like the cell to be coloured red.&lt;/P&gt;&lt;P&gt;I appreciate any help,&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Sep 2009 23:37:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-09-10T23:37:32Z</dc:date>
    <item>
      <title>simple Question, clarification needed!  Thanks</title>
      <link>https://community.qlik.com/t5/QlikView/simple-Question-clarification-needed-Thanks/m-p/182447#M48100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I have a simple colourisation code as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;if&lt;BR /&gt;&lt;BR /&gt; (Count(&lt;B&gt;$(KPI_Red)&lt;/B&gt;) = 1, rgb(255,0,0&lt;BR /&gt;),&lt;BR /&gt;(&lt;BR /&gt; if(count(&lt;B&gt;$(KPI_Amber)&lt;/B&gt;) = 1, rgb(255,128,0&lt;BR /&gt;),&lt;BR /&gt;rgb&lt;BR /&gt;&lt;BR /&gt; (51,204,128)&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I was wondering that because I have put rgb(255,0,0) in the first line will red take precedence when Qlikview interprets results? I would like it to do so but I am unsure if it is calcultating in this way. Could anyone confirm please? ie if I have 2 results, one is red and one is amber, and I am displaying the count for this (which is 2), I would like the cell to be coloured red.&lt;/P&gt;&lt;P&gt;I appreciate any help,&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2009 23:37:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/simple-Question-clarification-needed-Thanks/m-p/182447#M48100</guid>
      <dc:creator />
      <dc:date>2009-09-10T23:37:32Z</dc:date>
    </item>
    <item>
      <title>simple Question, clarification needed!  Thanks</title>
      <link>https://community.qlik.com/t5/QlikView/simple-Question-clarification-needed-Thanks/m-p/182448#M48101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't understand why you are using count? What are the values in the field mentioned under KPI_Red or KPI_Amber?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 00:59:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/simple-Question-clarification-needed-Thanks/m-p/182448#M48101</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2009-09-11T00:59:11Z</dc:date>
    </item>
    <item>
      <title>simple Question, clarification needed!  Thanks</title>
      <link>https://community.qlik.com/t5/QlikView/simple-Question-clarification-needed-Thanks/m-p/182449#M48102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;KPI_red and Amber are two columns which have a one or zero in each cell. So therefore if there is a one in KPI_Red, the KPI_Amber cell will be 0 and vice versa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2009 15:28:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/simple-Question-clarification-needed-Thanks/m-p/182449#M48102</guid>
      <dc:creator />
      <dc:date>2009-09-14T15:28:04Z</dc:date>
    </item>
  </channel>
</rss>

