<?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: changing values with colours using IF statement error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/changing-values-with-colours-using-IF-statement-error/m-p/1278084#M619337</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Royce,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree with Deepak! Changing the Background color of % rev. growth expression will fetch the desired results (refer attached application).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Feb 2017 07:00:13 GMT</pubDate>
    <dc:creator>rahulpawarb</dc:creator>
    <dc:date>2017-02-28T07:00:13Z</dc:date>
    <item>
      <title>changing values with colours using IF statement error</title>
      <link>https://community.qlik.com/t5/QlikView/changing-values-with-colours-using-IF-statement-error/m-p/1278081#M619334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently using an IF loop to change a certain value to green/red when a condition is met the expression I am currently using is:&lt;/P&gt;&lt;P&gt;if($(v%rev), green(), red())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the logic seems correct to me however I am getting weird values in the straight table seen in the attached picture.&lt;/P&gt;&lt;P&gt;I have also attached a qvw file for your reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Royce Tang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2017 06:34:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/changing-values-with-colours-using-IF-statement-error/m-p/1278081#M619334</guid>
      <dc:creator />
      <dc:date>2017-02-28T06:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: changing values with colours using IF statement error</title>
      <link>https://community.qlik.com/t5/QlikView/changing-values-with-colours-using-IF-statement-error/m-p/1278082#M619335</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 are using color at incorrect place&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just expand the expression where you want to display the color by cliking + symbol and enter your expression in background color&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(v%rev)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;gt; 0, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Green&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;red&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;This will resolve your issue&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2017 06:44:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/changing-values-with-colours-using-IF-statement-error/m-p/1278082#M619335</guid>
      <dc:creator>dsharmaqv</dc:creator>
      <dc:date>2017-02-28T06:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: changing values with colours using IF statement error</title>
      <link>https://community.qlik.com/t5/QlikView/changing-values-with-colours-using-IF-statement-error/m-p/1278083#M619336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where you need this red() and green() colors ? in the gauge ? if that the case then in the expression tab go to gauge setting &amp;gt; Define the segments and its values according to your need that should work..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2017 06:58:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/changing-values-with-colours-using-IF-statement-error/m-p/1278083#M619336</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2017-02-28T06:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: changing values with colours using IF statement error</title>
      <link>https://community.qlik.com/t5/QlikView/changing-values-with-colours-using-IF-statement-error/m-p/1278084#M619337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Royce,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree with Deepak! Changing the Background color of % rev. growth expression will fetch the desired results (refer attached application).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2017 07:00:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/changing-values-with-colours-using-IF-statement-error/m-p/1278084#M619337</guid>
      <dc:creator>rahulpawarb</dc:creator>
      <dc:date>2017-02-28T07:00:13Z</dc:date>
    </item>
  </channel>
</rss>

