<?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 Color in Pivot cell in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Color-in-Pivot-cell/m-p/203221#M1207925</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I want to change color cell in a Pivot.&lt;/P&gt;&lt;P&gt;For value from 0 to 1.000.000 gradient white to green&lt;/P&gt;&lt;P&gt;For value &amp;gt; 1.000.000 green&lt;/P&gt;&lt;P&gt;I insert to following expression in color background normal calculate in Table properties (Visual properties)&lt;/P&gt;&lt;P&gt;ColorMix1 ( if ($(FatturatoAlGiornoCorrente) &amp;gt; 1000000, 1 , ($(FatturatoAlGiornoCorrente) / 1000000), white (), green ())&lt;/P&gt;&lt;P&gt;where variable FatturatoAlGiornoCorrente is the value in the column.&lt;/P&gt;&lt;P&gt;The result is always white color.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Antonio Benvenuti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Oct 2009 20:11:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-10-26T20:11:04Z</dc:date>
    <item>
      <title>Color in Pivot cell</title>
      <link>https://community.qlik.com/t5/QlikView/Color-in-Pivot-cell/m-p/203221#M1207925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I want to change color cell in a Pivot.&lt;/P&gt;&lt;P&gt;For value from 0 to 1.000.000 gradient white to green&lt;/P&gt;&lt;P&gt;For value &amp;gt; 1.000.000 green&lt;/P&gt;&lt;P&gt;I insert to following expression in color background normal calculate in Table properties (Visual properties)&lt;/P&gt;&lt;P&gt;ColorMix1 ( if ($(FatturatoAlGiornoCorrente) &amp;gt; 1000000, 1 , ($(FatturatoAlGiornoCorrente) / 1000000), white (), green ())&lt;/P&gt;&lt;P&gt;where variable FatturatoAlGiornoCorrente is the value in the column.&lt;/P&gt;&lt;P&gt;The result is always white color.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Antonio Benvenuti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2009 20:11:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-in-Pivot-cell/m-p/203221#M1207925</guid>
      <dc:creator />
      <dc:date>2009-10-26T20:11:04Z</dc:date>
    </item>
    <item>
      <title>Color in Pivot cell</title>
      <link>https://community.qlik.com/t5/QlikView/Color-in-Pivot-cell/m-p/203222#M1207926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using an If else to determine rgb(),&lt;/P&gt;&lt;P&gt;=If(value &amp;gt;= 1.000.000, rgb(0,255,0), rgb(0, 255 * (value/1.000.000), 0)&lt;/P&gt;&lt;P&gt;'value' could be a formula or if you use a variable in your loading script remember to use $([name of variatble])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2009 21:17:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-in-Pivot-cell/m-p/203222#M1207926</guid>
      <dc:creator />
      <dc:date>2009-10-26T21:17:39Z</dc:date>
    </item>
    <item>
      <title>Color in Pivot cell</title>
      <link>https://community.qlik.com/t5/QlikView/Color-in-Pivot-cell/m-p/203223#M1207927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sorry I don't know what I was thinking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;&lt;BR /&gt;=If(sum(Value) &amp;gt;= 1000000,&lt;BR /&gt; rgb(0,255,0),&lt;BR /&gt; rgb(255-ROUND(255 *(sum(Value)/1000000)),&lt;BR /&gt; 255 ,&lt;BR /&gt; 255-ROUND(255 *(sum(Value)/1000000))))&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I added the ROUND function incase Qlikview doesn't convert a decimal to an integer.&lt;/P&gt;&lt;P&gt;This should move it from Bright Green to White&lt;/P&gt;&lt;P&gt;Problem though when inserting this code into the Pivot chart. It will not group the SUM(Value) by the dimension.&lt;/P&gt;&lt;P&gt;So I'm not sure if this will do it for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2009 22:48:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Color-in-Pivot-cell/m-p/203223#M1207927</guid>
      <dc:creator />
      <dc:date>2009-10-26T22:48:26Z</dc:date>
    </item>
  </channel>
</rss>

