<?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: In a grid chart, show negative values as red? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/In-a-grid-chart-show-negative-values-as-red/m-p/890923#M1002332</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're welcome Danielle&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this has answered your question, can you please mark the relevant answers as Correct? It will close this thread and help others find correct answers and let contributing members know this requires no more attention.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jun 2015 10:15:05 GMT</pubDate>
    <dc:creator>stigchel</dc:creator>
    <dc:date>2015-06-15T10:15:05Z</dc:date>
    <item>
      <title>In a grid chart, show negative values as red?</title>
      <link>https://community.qlik.com/t5/QlikView/In-a-grid-chart-show-negative-values-as-red/m-p/890917#M1002326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Hello,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;I would like to in my grid chart show positive values in green and negative values in red.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;My values are in percentages.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;So far I have been able to make them green for positive, but the negative values won't show up at all. &lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;I entered this formula into the expression background color definition:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;If(Avg(Growth)&amp;lt;0,RGB(Avg(Growth)=255,0,0),RGB(Avg(Growth)=0,128,0))&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;and I get this:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;IMG alt="Grid Chart.PNG" class="jive-image image-1" src="/legacyfs/online/89429_Grid Chart.PNG" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;How do I make the negative percentage values appear and then turn red? Is there somewhere else I should enter the formula or is there a better way to go about it than a formula?&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 09:47:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-a-grid-chart-show-negative-values-as-red/m-p/890917#M1002326</guid>
      <dc:creator>stjernvd</dc:creator>
      <dc:date>2015-06-15T09:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: In a grid chart, show negative values as red?</title>
      <link>https://community.qlik.com/t5/QlikView/In-a-grid-chart-show-negative-values-as-red/m-p/890918#M1002327</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 can you post a Qvw example?&lt;/P&gt;&lt;P&gt;Is simplest to answer to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 09:50:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-a-grid-chart-show-negative-values-as-red/m-p/890918#M1002327</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-15T09:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: In a grid chart, show negative values as red?</title>
      <link>https://community.qlik.com/t5/QlikView/In-a-grid-chart-show-negative-values-as-red/m-p/890919#M1002328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We also have a funtion Red().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you tried?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 09:52:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-a-grid-chart-show-negative-values-as-red/m-p/890919#M1002328</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-15T09:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: In a grid chart, show negative values as red?</title>
      <link>https://community.qlik.com/t5/QlikView/In-a-grid-chart-show-negative-values-as-red/m-p/890920#M1002329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are you trying to achieve with &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;RGB(Avg(Growth)=255, as this will almost certainly always be 0 (Qlikview number representation for false, -1 for true), the color for red always becomes RGB(0,0,0) which is black.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try&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: 13.3333330154419px;"&gt;If(Avg(Growth)&amp;lt;0,RGB(255,0,0),RGB(0,128,0))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 09:55:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-a-grid-chart-show-negative-values-as-red/m-p/890920#M1002329</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-06-15T09:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: In a grid chart, show negative values as red?</title>
      <link>https://community.qlik.com/t5/QlikView/In-a-grid-chart-show-negative-values-as-red/m-p/890921#M1002330</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;the Background colour expression should more like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;SPAN style="color: #0000ff;"&gt;Avg(&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;Growth&lt;/SPAN&gt;)&amp;lt;0, &lt;SPAN style="color: #0000ff;"&gt;Red&lt;/SPAN&gt;(),&lt;SPAN style="color: #0000ff;"&gt;Green&lt;/SPAN&gt;()) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;See Simple example attached&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Andy&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 10:00:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-a-grid-chart-show-negative-values-as-red/m-p/890921#M1002330</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-06-15T10:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: In a grid chart, show negative values as red?</title>
      <link>https://community.qlik.com/t5/QlikView/In-a-grid-chart-show-negative-values-as-red/m-p/890922#M1002331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Piet this works!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 10:01:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-a-grid-chart-show-negative-values-as-red/m-p/890922#M1002331</guid>
      <dc:creator>stjernvd</dc:creator>
      <dc:date>2015-06-15T10:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: In a grid chart, show negative values as red?</title>
      <link>https://community.qlik.com/t5/QlikView/In-a-grid-chart-show-negative-values-as-red/m-p/890923#M1002332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're welcome Danielle&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this has answered your question, can you please mark the relevant answers as Correct? It will close this thread and help others find correct answers and let contributing members know this requires no more attention.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 10:15:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-a-grid-chart-show-negative-values-as-red/m-p/890923#M1002332</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-06-15T10:15:05Z</dc:date>
    </item>
  </channel>
</rss>

