<?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 Applying RGB to a value in Text Object in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Applying-RGB-to-a-value-in-Text-Object/m-p/759793#M1029302</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Scenario:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A text object contains a value. If value is greater than Zero(0) the value should be in green otherwise in red.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EX:&lt;/STRONG&gt; if(value&amp;gt;0,'value in Green Color','Value in Reg Color')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Feb 2015 13:27:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-02-20T13:27:52Z</dc:date>
    <item>
      <title>Applying RGB to a value in Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Applying-RGB-to-a-value-in-Text-Object/m-p/759793#M1029302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Scenario:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A text object contains a value. If value is greater than Zero(0) the value should be in green otherwise in red.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EX:&lt;/STRONG&gt; if(value&amp;gt;0,'value in Green Color','Value in Reg Color')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 13:27:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applying-RGB-to-a-value-in-Text-Object/m-p/759793#M1029302</guid>
      <dc:creator />
      <dc:date>2015-02-20T13:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Applying RGB to a value in Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Applying-RGB-to-a-value-in-Text-Object/m-p/759794#M1029303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe:&lt;/P&gt;&lt;P&gt;=if(Value&amp;gt;0,Green(),Red())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to Background-Color-Calcualted and put your expression there:&lt;/P&gt;&lt;P&gt;Let say:&lt;/P&gt;&lt;P&gt;=if(max(Amount)&amp;gt;0,Green(),Red())&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 13:30:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applying-RGB-to-a-value-in-Text-Object/m-p/759794#M1029303</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-02-20T13:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: Applying RGB to a value in Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Applying-RGB-to-a-value-in-Text-Object/m-p/759795#M1029306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praful,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use the RGB() function to specify colours. You can expand any of the expressions in your chart and specify some options, among them the background_colour. There you will have to enter it in $()&lt;/P&gt;&lt;P&gt;=&amp;gt; That would be &amp;gt;&amp;gt;&amp;nbsp; $(RGB(0,0,0))&amp;nbsp; &amp;lt;&amp;lt;&amp;lt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To keep the colouring consistent between your apps, you could define a colour_palette in a qvs and use that instead of individually specifying the colours every time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 13:31:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applying-RGB-to-a-value-in-Text-Object/m-p/759795#M1029306</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-02-20T13:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Applying RGB to a value in Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Applying-RGB-to-a-value-in-Text-Object/m-p/759796#M1029308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praful, in Font tab--&amp;gt;click on the "color", select 'Calculated' and set the expression, something like:&lt;/P&gt;&lt;P&gt;If(value&amp;gt;0, Green(), Red()) --&amp;gt; You can especify a RGB color like this:&lt;/P&gt;&lt;P&gt;If(value&amp;gt;0, RGB(0,255,0), RGB(255,0,0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change 'value' for the expression you use in the text object, in example, if value is =Sum(Sales), the color expression should be:&lt;/P&gt;&lt;P&gt;If(Sum(Sales)&amp;gt;0, Green(), Red())&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 13:33:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applying-RGB-to-a-value-in-Text-Object/m-p/759796#M1029308</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-02-20T13:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Applying RGB to a value in Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Applying-RGB-to-a-value-in-Text-Object/m-p/759797#M1029310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my need is to make a value in text object either in red or green color according to the condition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 13:37:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applying-RGB-to-a-value-in-Text-Object/m-p/759797#M1029310</guid>
      <dc:creator />
      <dc:date>2015-02-20T13:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Applying RGB to a value in Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Applying-RGB-to-a-value-in-Text-Object/m-p/759798#M1029311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Ruben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 13:42:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applying-RGB-to-a-value-in-Text-Object/m-p/759798#M1029311</guid>
      <dc:creator />
      <dc:date>2015-02-20T13:42:02Z</dc:date>
    </item>
  </channel>
</rss>

