<?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: font color expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/font-color-expression/m-p/396943#M1149811</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt; excelent!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 May 2013 15:46:53 GMT</pubDate>
    <dc:creator>fdelacal</dc:creator>
    <dc:date>2013-05-22T15:46:53Z</dc:date>
    <item>
      <title>font color expression</title>
      <link>https://community.qlik.com/t5/QlikView/font-color-expression/m-p/396940#M1149808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a text box which calculates the % change between Budget and Actual. If the % change is negative, I want the font to be red. If it is positive, I want it to be green. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expression in the text box to calculate % change is working fine: =num((sum(Budget)/sum(Actual)-1),'#.#0%'). However, I cannot get the calculated font color to work. Here's my expression: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if((sum(Budget)/sum(Actual)-1)&amp;gt;0,'Green','Red')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on how to fix the syntax are appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2013 15:35:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/font-color-expression/m-p/396940#M1149808</guid>
      <dc:creator />
      <dc:date>2013-05-22T15:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: font color expression</title>
      <link>https://community.qlik.com/t5/QlikView/font-color-expression/m-p/396941#M1149809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;go to font, then color&lt;/P&gt;&lt;P&gt;then calculate and do.&lt;/P&gt;&lt;P&gt;if(sum(Budget)/sum(Actual)-1)&amp;gt;0,argb(255,0,255,0),argb(255,255,0,0))&lt;/P&gt;&lt;P&gt;hope that helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2013 15:42:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/font-color-expression/m-p/396941#M1149809</guid>
      <dc:creator>fdelacal</dc:creator>
      <dc:date>2013-05-22T15:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: font color expression</title>
      <link>https://community.qlik.com/t5/QlikView/font-color-expression/m-p/396942#M1149810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you- works like a charm!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2013 15:44:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/font-color-expression/m-p/396942#M1149810</guid>
      <dc:creator />
      <dc:date>2013-05-22T15:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: font color expression</title>
      <link>https://community.qlik.com/t5/QlikView/font-color-expression/m-p/396943#M1149811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt; excelent!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2013 15:46:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/font-color-expression/m-p/396943#M1149811</guid>
      <dc:creator>fdelacal</dc:creator>
      <dc:date>2013-05-22T15:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: font color expression</title>
      <link>https://community.qlik.com/t5/QlikView/font-color-expression/m-p/396944#M1149812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;though i do have a question - would there be a way to change the shades of red and green? I would ideally have wanted a darker set of colors but typing in their RGB codes didn't do it for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;more specifically, the green i wanted was RGB (0,128,0) and the red was (128,0,0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2013 16:30:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/font-color-expression/m-p/396944#M1149812</guid>
      <dc:creator />
      <dc:date>2013-05-22T16:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: font color expression</title>
      <link>https://community.qlik.com/t5/QlikView/font-color-expression/m-p/396945#M1149813</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;You only need to modify the RGB color expression!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ARGB(0,0,128,0) and ARGB(0,128,0,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Rebeca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 13:58:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/font-color-expression/m-p/396945#M1149813</guid>
      <dc:creator />
      <dc:date>2013-05-29T13:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: font color expression</title>
      <link>https://community.qlik.com/t5/QlikView/font-color-expression/m-p/396946#M1149814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sadly that just wiped out my text &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt; thanks for the idea though!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 22:06:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/font-color-expression/m-p/396946#M1149814</guid>
      <dc:creator />
      <dc:date>2013-05-29T22:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: font color expression</title>
      <link>https://community.qlik.com/t5/QlikView/font-color-expression/m-p/396947#M1149815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The codes that Rebecca posted had a translucency value of zero - which would have made your text transparent.&amp;nbsp; You could make those first values 255, or not use the colour codes with the translucency modifier, eg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RGB(0,128,0) and RGB(128, 0, 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I find these functions more simple to understand anyway, as everyone expects just R, G and B values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other thing worth noting that as you have a very simple criteria you could ignore the Font Color expression and do this using the Visual Cues tab.&amp;nbsp; This way you can define which colours should be shown based on the value of the field - and you get to use the colour picker dialog.&amp;nbsp; There are lots of situations where you do need to use the font colour expression though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.quickintelligence.co.uk/"&gt;http://www.quickintelligence.co.uk/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 23:36:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/font-color-expression/m-p/396947#M1149815</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2013-05-29T23:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: font color expression</title>
      <link>https://community.qlik.com/t5/QlikView/font-color-expression/m-p/396948#M1149816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 17:45:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/font-color-expression/m-p/396948#M1149816</guid>
      <dc:creator />
      <dc:date>2013-05-31T17:45:47Z</dc:date>
    </item>
  </channel>
</rss>

