<?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 If Statement - color question in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/If-Statement-color-question/m-p/1660715#M49565</link>
    <description>&lt;P&gt;Hi -&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following if statement in a KPI:&lt;/P&gt;&lt;P&gt;If($(vAmount) &amp;lt; $(vBudget),'Under Budget',Over Budget')&lt;/P&gt;&lt;P&gt;Works fine.&lt;/P&gt;&lt;P&gt;Question : How to I make 'Under Budget' appear in a green font color and 'Over Budget' appear in red font color ?&lt;/P&gt;&lt;P&gt;Thoughts ?? Thanks - Jerry&lt;/P&gt;</description>
    <pubDate>Wed, 22 Dec 2021 20:21:56 GMT</pubDate>
    <dc:creator>jerryr125</dc:creator>
    <dc:date>2021-12-22T20:21:56Z</dc:date>
    <item>
      <title>If Statement - color question</title>
      <link>https://community.qlik.com/t5/App-Development/If-Statement-color-question/m-p/1660715#M49565</link>
      <description>&lt;P&gt;Hi -&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following if statement in a KPI:&lt;/P&gt;&lt;P&gt;If($(vAmount) &amp;lt; $(vBudget),'Under Budget',Over Budget')&lt;/P&gt;&lt;P&gt;Works fine.&lt;/P&gt;&lt;P&gt;Question : How to I make 'Under Budget' appear in a green font color and 'Over Budget' appear in red font color ?&lt;/P&gt;&lt;P&gt;Thoughts ?? Thanks - Jerry&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 20:21:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-Statement-color-question/m-p/1660715#M49565</guid>
      <dc:creator>jerryr125</dc:creator>
      <dc:date>2021-12-22T20:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: If Statement - color question</title>
      <link>https://community.qlik.com/t5/App-Development/If-Statement-color-question/m-p/1660719#M49566</link>
      <description>&lt;P&gt;Check if text color option for color? If so, you can define&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If($(vAmount) &amp;lt; $(vBudget), Green(), Red())&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 12:26:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-Statement-color-question/m-p/1660719#M49566</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-12-26T12:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: If Statement - color question</title>
      <link>https://community.qlik.com/t5/App-Development/If-Statement-color-question/m-p/1660724#M49567</link>
      <description>&lt;P&gt;Hi - I would like to text to still appear - I cannot change the conditional color.&lt;/P&gt;&lt;P&gt;thoughts ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 12:35:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-Statement-color-question/m-p/1660724#M49567</guid>
      <dc:creator>jerryr125</dc:creator>
      <dc:date>2019-12-26T12:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: If Statement - color question</title>
      <link>https://community.qlik.com/t5/App-Development/If-Statement-color-question/m-p/1660727#M49568</link>
      <description>&lt;P&gt;KPI will show in single row? May be i am not following, Can u please brief about?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 12:38:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-Statement-color-question/m-p/1660727#M49568</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-12-26T12:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: If Statement - color question</title>
      <link>https://community.qlik.com/t5/App-Development/If-Statement-color-question/m-p/1660823#M49592</link>
      <description>&lt;P&gt;The&amp;nbsp; If statement is set up in the KPI to display either :&lt;/P&gt;&lt;P&gt;Over Budget&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or&amp;nbsp;&lt;/P&gt;&lt;P&gt;Under Budget&lt;/P&gt;&lt;P&gt;It displays text&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If($(vAmount) &amp;lt; $(vBudget),'Under Budget',Over Budget')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How do I get the expression to display 'Under Budget' in green and 'Over Budget' in red ??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks - Jerry&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 15:26:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-Statement-color-question/m-p/1660823#M49592</guid>
      <dc:creator>jerryr125</dc:creator>
      <dc:date>2019-12-26T15:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: If Statement - color question</title>
      <link>https://community.qlik.com/t5/App-Development/If-Statement-color-question/m-p/1660954#M49605</link>
      <description>&lt;P&gt;The&amp;nbsp; If statement is set up in the KPI to display either :&lt;/P&gt;&lt;P&gt;Over Budget&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or&amp;nbsp;&lt;/P&gt;&lt;P&gt;Under Budget&lt;/P&gt;&lt;P&gt;It displays text&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If($(vAmount) &amp;lt; $(vBudget),'Under Budget',Over Budget')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How do I get the expression to display 'Under Budget' in green and 'Over Budget' in red ??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks - Jerry&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2019 09:54:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-Statement-color-question/m-p/1660954#M49605</guid>
      <dc:creator>jerryr125</dc:creator>
      <dc:date>2019-12-27T09:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: If Statement - color question</title>
      <link>https://community.qlik.com/t5/App-Development/If-Statement-color-question/m-p/1660961#M49606</link>
      <description>&lt;P&gt;In your KPI object, in the color section, toggle off&amp;nbsp; "Library colors" and toggle on "Conditional colors"&lt;/P&gt;&lt;P&gt;Change the two colors in the bar that appears underneath according to the colors you need. As a limit value, insert your variable (i.e. = vBudget)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lorenzo&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2019 10:11:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-Statement-color-question/m-p/1660961#M49606</guid>
      <dc:creator>lorenzoconforti</dc:creator>
      <dc:date>2019-12-27T10:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: If Statement - color question</title>
      <link>https://community.qlik.com/t5/App-Development/If-Statement-color-question/m-p/1660998#M49608</link>
      <description>&lt;P&gt;Hi Lorenzo - here is the message that I am receiving:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QSMessage.JPG" style="width: 293px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/26080iB82ED149C792EA5A/image-size/large?v=v2&amp;amp;px=999" role="button" title="QSMessage.JPG" alt="QSMessage.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2019 13:04:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-Statement-color-question/m-p/1660998#M49608</guid>
      <dc:creator>jerryr125</dc:creator>
      <dc:date>2019-12-27T13:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: If Statement - color question</title>
      <link>https://community.qlik.com/t5/App-Development/If-Statement-color-question/m-p/1660999#M49609</link>
      <description>&lt;P&gt;use the Dual function in your if statement&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If($(vAmount) &amp;lt; $(vBudget),dual('Under Budget',0) ,dual('Over Budget',1))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;then in your color expression, set your limit to 0.5 and change the colors accordingly&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2019 13:11:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-Statement-color-question/m-p/1660999#M49609</guid>
      <dc:creator>lorenzoconforti</dc:creator>
      <dc:date>2019-12-27T13:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: If Statement - color question</title>
      <link>https://community.qlik.com/t5/App-Development/If-Statement-color-question/m-p/1661008#M49612</link>
      <description>&lt;P&gt;thank you - that did the trick !!&lt;/P&gt;&lt;P&gt;I set the data element to display the "Measure Expression" and changed the colors accordingly - perfect! !&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2019 13:26:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-Statement-color-question/m-p/1661008#M49612</guid>
      <dc:creator>jerryr125</dc:creator>
      <dc:date>2019-12-27T13:26:41Z</dc:date>
    </item>
  </channel>
</rss>

