<?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: Conditional Coloring of Text in a Text Box. (make negatives red) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-Coloring-of-Text-in-a-Text-Box-make-negatives-red/m-p/856394#M531765</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;Try the below one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/773329"&gt;Re: Negative numbers in red / positive numbers in green in a text box&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 May 2015 07:00:56 GMT</pubDate>
    <dc:creator>krishna20</dc:creator>
    <dc:date>2015-05-14T07:00:56Z</dc:date>
    <item>
      <title>Conditional Coloring of Text in a Text Box. (make negatives red)</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Coloring-of-Text-in-a-Text-Box-make-negatives-red/m-p/856391#M531762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; &lt;SPAN style="color: #575757; font-size: 9pt; font-family: arial, helvetica, sans-serif;"&gt;Text Box Display Formula: Expression using the contents of two other text boxes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="color: #575757; font-size: 9pt; font-family: arial, helvetica, sans-serif;"&gt;Font Color Formula: IF (Expression &amp;gt; 0, green, red)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="color: #575757; font-size: 9pt; font-family: arial, helvetica, sans-serif;"&gt;I use this method in my dashboard but it means that the entire expression has to be copied into the Font Color formula.&amp;nbsp; The issues I have with this are:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="color: #575757; font-size: 9pt; font-family: arial, helvetica, sans-serif;"&gt;1) Doesn't this affect performance because the formula has to be calculated twice? Once for the expression to be displayed in the text box and once for the text color?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="color: #575757; font-size: 9pt; font-family: arial, helvetica, sans-serif;"&gt;2) Is there a way of referring to other calculations in other text boxes like you can in a Table Box.&amp;nbsp; I have found that changes have been made to the expression that displays but those changes were not put into the color formula also.&amp;nbsp; It would be nice if there was a "Current Expression Value" function or the ability to refer to another object like you can with a column.&amp;nbsp; ie. if [Budget] - [Sales] &amp;gt;0, green, red.&amp;nbsp; That way any changes in the Budget calculation would then be seen by the font color expression.&amp;nbsp; Any ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 00:43:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Coloring-of-Text-in-a-Text-Box-make-negatives-red/m-p/856391#M531762</guid>
      <dc:creator />
      <dc:date>2015-05-14T00:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Coloring of Text in a Text Box. (make negatives red)</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Coloring-of-Text-in-a-Text-Box-make-negatives-red/m-p/856392#M531763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could write the expression once in a variable e.g.&lt;/P&gt;&lt;P&gt;vVar&amp;nbsp; =&amp;nbsp;&amp;nbsp; sum(sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if($(vVar)&amp;gt;0,green(), red())&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 01:01:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Coloring-of-Text-in-a-Text-Box-make-negatives-red/m-p/856392#M531763</guid>
      <dc:creator>danieloberbilli</dc:creator>
      <dc:date>2015-05-14T01:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Coloring of Text in a Text Box. (make negatives red)</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Coloring-of-Text-in-a-Text-Box-make-negatives-red/m-p/856393#M531764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Expression results are cached.&amp;nbsp; That means if two expressions are exactly the same, they are calculated once, not twice.&amp;nbsp; But if they are even a little different (sum in one but Sum in another) - each will be calculated.&lt;/P&gt;&lt;P&gt;2. Not exactly - but think of keeping expressions in variables.&amp;nbsp; So, the variable eBudget contains expression for Budget calculations, and variable eSales - for Sales calculations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 01:05:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Coloring-of-Text-in-a-Text-Box-make-negatives-red/m-p/856393#M531764</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-14T01:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Coloring of Text in a Text Box. (make negatives red)</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Coloring-of-Text-in-a-Text-Box-make-negatives-red/m-p/856394#M531765</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;Try the below one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/773329"&gt;Re: Negative numbers in red / positive numbers in green in a text box&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 07:00:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Coloring-of-Text-in-a-Text-Box-make-negatives-red/m-p/856394#M531765</guid>
      <dc:creator>krishna20</dc:creator>
      <dc:date>2015-05-14T07:00:56Z</dc:date>
    </item>
  </channel>
</rss>

