<?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: Setting Colors in Text Box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Setting-Colors-in-Text-Box/m-p/1521033#M437539</link>
    <description>&lt;P&gt;Try this&lt;/P&gt;&lt;PRE&gt;=If((Sum({&amp;lt;FISYR = {$(=$(vFisYr) - 0)}, YTDFlag = {1}&amp;gt;} [Inv Gross]) - Sum({&amp;lt;FISYR = {$(=$(vFisYr) - 1)}, YTDFlag = {1}&amp;gt;} [Inv Gross])) &amp;lt; 0),&lt;BR /&gt;  RGB(255,0,0),&lt;BR /&gt;  RGB(0,102,0)&lt;BR /&gt;)&lt;/PRE&gt;</description>
    <pubDate>Fri, 14 Dec 2018 12:26:18 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-12-14T12:26:18Z</dc:date>
    <item>
      <title>Setting Colors in Text Box</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-Colors-in-Text-Box/m-p/1521012#M437537</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm trying to set some colors based on a value in a text box.&amp;nbsp; Does anyone see anything wrong with this statement?&amp;nbsp; Colors not working.&amp;nbsp; Thanks&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;=&lt;/FONT&gt;&lt;FONT size="4"&gt;&lt;FONT color="#0000ff"&gt;Num&lt;/FONT&gt;(&lt;FONT color="#0000ff"&gt;if&lt;/FONT&gt;(&lt;FONT color="#0000ff"&gt;Sum&lt;/FONT&gt;({&amp;lt;&lt;FONT color="#800000"&gt;FISYR&lt;/FONT&gt; = {&lt;STRONG&gt;&lt;I&gt;&lt;FONT color="#808080"&gt;$(=$(vFisYr) - 0)&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt;},&lt;FONT color="#800000"&gt;YTDFlag&lt;/FONT&gt; = {1}&amp;gt;} &lt;FONT color="#800000"&gt;[Inv Gross]&lt;/FONT&gt;) - &lt;FONT color="#0000ff"&gt;Num&lt;/FONT&gt;(&lt;FONT color="#0000ff"&gt;Sum&lt;/FONT&gt;({&amp;lt;&lt;FONT color="#800000"&gt;FISYR&lt;/FONT&gt; = {&lt;STRONG&gt;&lt;I&gt;&lt;FONT color="#808080"&gt;$(=$(vFisYr) - 1)&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt;},&lt;FONT color="#800000"&gt;YTDFlag&lt;/FONT&gt; = {1}&amp;gt;} &lt;FONT color="#800000"&gt;[Inv Gross]&lt;/FONT&gt;) &amp;lt; 0),&lt;FONT color="#0000ff"&gt;RGB&lt;/FONT&gt;(255,0,0),&lt;FONT color="#0000ff"&gt;RGB&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT size="4"&gt;(0,102,0)))&lt;/FONT&gt; &lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 11:59:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-Colors-in-Text-Box/m-p/1521012#M437537</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2018-12-14T11:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Colors in Text Box</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-Colors-in-Text-Box/m-p/1521033#M437539</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;PRE&gt;=If((Sum({&amp;lt;FISYR = {$(=$(vFisYr) - 0)}, YTDFlag = {1}&amp;gt;} [Inv Gross]) - Sum({&amp;lt;FISYR = {$(=$(vFisYr) - 1)}, YTDFlag = {1}&amp;gt;} [Inv Gross])) &amp;lt; 0),&lt;BR /&gt;  RGB(255,0,0),&lt;BR /&gt;  RGB(0,102,0)&lt;BR /&gt;)&lt;/PRE&gt;</description>
      <pubDate>Fri, 14 Dec 2018 12:26:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-Colors-in-Text-Box/m-p/1521033#M437539</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-12-14T12:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Colors in Text Box</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-Colors-in-Text-Box/m-p/1521054#M437540</link>
      <description>&lt;P&gt;Nope&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 13:00:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-Colors-in-Text-Box/m-p/1521054#M437540</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2018-12-14T13:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Colors in Text Box</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-Colors-in-Text-Box/m-p/1521055#M437541</link>
      <description>You are using this for coloring the text box object?</description>
      <pubDate>Fri, 14 Dec 2018 13:01:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-Colors-in-Text-Box/m-p/1521055#M437541</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-12-14T13:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Colors in Text Box</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-Colors-in-Text-Box/m-p/1521056#M437542</link>
      <description>&lt;P&gt;&lt;FONT size="1"&gt;=&lt;/FONT&gt;&lt;FONT color="#0000ff" size="1"&gt;If&lt;/FONT&gt;&lt;FONT size="1"&gt;((&lt;/FONT&gt;&lt;FONT color="#0000ff" size="1"&gt;Sum&lt;/FONT&gt;&lt;FONT size="1"&gt;({&amp;lt;&lt;/FONT&gt;&lt;FONT color="#800000" size="1"&gt;FISYR&lt;/FONT&gt;&lt;FONT size="1"&gt; = {&lt;/FONT&gt;&lt;STRONG&gt;&lt;I&gt;&lt;FONT color="#808080" size="1"&gt;$(=$(vFisYr) - 0)&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;FONT size="1"&gt;}, &lt;/FONT&gt;&lt;FONT color="#800000" size="1"&gt;YTDFlag&lt;/FONT&gt;&lt;FONT size="1"&gt; = {1}&amp;gt;} &lt;/FONT&gt;&lt;FONT color="#800000" size="1"&gt;[Inv Gross]&lt;/FONT&gt;&lt;FONT size="1"&gt;) - &lt;/FONT&gt;&lt;FONT color="#0000ff" size="1"&gt;Sum&lt;/FONT&gt;&lt;FONT size="1"&gt;({&amp;lt;&lt;/FONT&gt;&lt;FONT color="#800000" size="1"&gt;FISYR&lt;/FONT&gt;&lt;FONT size="1"&gt; = {&lt;/FONT&gt;&lt;STRONG&gt;&lt;I&gt;&lt;FONT color="#808080" size="1"&gt;$(=$(vFisYr) - 1)&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;FONT size="1"&gt;}, &lt;/FONT&gt;&lt;FONT color="#800000" size="1"&gt;YTDFlag&lt;/FONT&gt;&lt;FONT size="1"&gt; = {1}&amp;gt;} &lt;/FONT&gt;&lt;FONT color="#800000" size="1"&gt;[Inv Gross]&lt;/FONT&gt;&lt;FONT size="1"&gt;)) &amp;lt; 0),&lt;FONT size="3"&gt;RGB(255,0,0),RGB(0,102,0),'$###,###,##0'&lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000" size="1"&gt;&lt;FONT size="3"&gt;)&lt;/FONT&gt; &lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000"&gt;It does not like RGB on.....&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 13:04:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-Colors-in-Text-Box/m-p/1521056#M437542</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2018-12-14T13:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Colors in Text Box</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-Colors-in-Text-Box/m-p/1521058#M437543</link>
      <description>&lt;P&gt;I am using it in a text box to show either a positive or negative variance.&amp;nbsp; If the calculation returns 0 or less it's red otherwise green.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 13:06:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-Colors-in-Text-Box/m-p/1521058#M437543</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2018-12-14T13:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Colors in Text Box</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-Colors-in-Text-Box/m-p/1521059#M437544</link>
      <description>I am not sure I understand the use of ,'$###,###,##0') at the end? Are you looking to format color? I don't think that is possible :).... but may be I am missing something here?</description>
      <pubDate>Fri, 14 Dec 2018 13:06:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-Colors-in-Text-Box/m-p/1521059#M437544</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-12-14T13:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Colors in Text Box</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-Colors-in-Text-Box/m-p/1521060#M437545</link>
      <description>&lt;P&gt;I'm using it to format the value in the text box....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 13:11:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-Colors-in-Text-Box/m-p/1521060#M437545</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2018-12-14T13:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Colors in Text Box</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-Colors-in-Text-Box/m-p/1521066#M437546</link>
      <description>&lt;P&gt;But this is a color expression, isn't it?&lt;/P&gt;&lt;PRE&gt;=If((Sum({&amp;lt;FISYR = {$(=$(vFisYr) - 0)}, YTDFlag = {1}&amp;gt;} [Inv Gross]) - Sum({&amp;lt;FISYR = {$(=$(vFisYr) - 1)}, YTDFlag = {1}&amp;gt;} [Inv Gross])) &amp;lt; 0),RGB(255,0,0),RGB(0,102,0),'$###,###,##0')&lt;/PRE&gt;&lt;P&gt;There are two different location... one is the general tab where you have your expression and then you have font tab where you use color expression. What is confusing me is that why do you need to format the expression which goes on the&amp;nbsp;font tab?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 13:16:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-Colors-in-Text-Box/m-p/1521066#M437546</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-12-14T13:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Colors in Text Box</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-Colors-in-Text-Box/m-p/1524672#M438316</link>
      <description>&lt;P&gt;Can you Try this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;=&lt;/FONT&gt;&lt;FONT size="4"&gt;&lt;FONT color="#0000ff"&gt;Num&lt;/FONT&gt;(&lt;FONT color="#0000ff"&gt;if&lt;/FONT&gt;(&lt;FONT color="#0000ff"&gt;Sum&lt;/FONT&gt;({&amp;lt;&lt;FONT color="#800000"&gt;FISYR&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;= {&lt;STRONG&gt;&lt;I&gt;&lt;FONT color="#808080"&gt;$($(=vFisYr) - 0)&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt;},&lt;FONT color="#800000"&gt;YTDFlag&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;= {1}&amp;gt;}&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#800000"&gt;[Inv Gross]&lt;/FONT&gt;) -&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#0000ff"&gt;Num&lt;/FONT&gt;(&lt;FONT color="#0000ff"&gt;Sum&lt;/FONT&gt;({&amp;lt;&lt;FONT color="#800000"&gt;FISYR&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;= {&lt;STRONG&gt;&lt;I&gt;&lt;FONT color="#808080"&gt;$($(=vFisYr) - 1)&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt;},&lt;FONT color="#800000"&gt;YTDFlag&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;= {1}&amp;gt;}&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#800000"&gt;[Inv Gross]&lt;/FONT&gt;) &amp;lt; 0),&lt;FONT color="#0000ff"&gt;RGB&lt;/FONT&gt;(255,0,0),&lt;FONT color="#0000ff"&gt;RGB&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT size="4"&gt;(0,102,0)))&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT size="4"&gt;I have changed the Postion of equal to(=) in Double dollar sign expansion&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2018 06:24:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-Colors-in-Text-Box/m-p/1524672#M438316</guid>
      <dc:creator>swapniltaz</dc:creator>
      <dc:date>2018-12-28T06:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Colors in Text Box</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-Colors-in-Text-Box/m-p/1695277#M450903</link>
      <description>&lt;P&gt;Sorry Sunny forgot to accept the solution.&amp;nbsp; Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 13:58:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-Colors-in-Text-Box/m-p/1695277#M450903</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2020-04-21T13:58:12Z</dc:date>
    </item>
  </channel>
</rss>

