<?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: Issue with background colour in straight table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issue-with-background-colour-in-straight-table/m-p/882250#M1010439</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this (assuming Old Yield and New Yield are your expression Labels):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If([Old Yield] = [New Yield], RGB(255,0,0))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quick Note: Old Yield and New Yield should turn Blue, if they are not turning blue and are red then you might have a column name in your database called Old Yield and New Yield in which case I recommend using Column() functions for both Old Yield and New Yield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming Old Yield is first expression and New Yield is the second expression you can use the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(Column(1) = Column(2), RGB(255,0,0))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 May 2015 20:56:04 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-05-05T20:56:04Z</dc:date>
    <item>
      <title>Issue with background colour in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-background-colour-in-straight-table/m-p/882249#M1010438</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;Can someone help me with the below mentioned issue.&lt;/P&gt;&lt;P&gt;Old Yield as =num([Prior Month End Lessor Yield],'##.000')&lt;BR /&gt;New Yield as =num([Month End Lessor Yield],'##.000')&lt;/P&gt;&lt;P&gt;And have given code for background colour as &lt;BR /&gt;=if((num([Prior Month End Lessor Yield],'##.000')) &amp;lt;&amp;gt; (num([Month End Lessor Yield],'##.000')),rgb(255,0,0),null())&lt;/P&gt;&lt;P&gt;But for the 1st, 5th, 12th even though [Prior Month End Lessor Yield] = [Month End Lessor Yield], still background colour is being displayed as red&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagrds,&lt;/P&gt;&lt;P&gt;Adi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 20:45:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-background-colour-in-straight-table/m-p/882249#M1010438</guid>
      <dc:creator />
      <dc:date>2015-05-05T20:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with background colour in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-background-colour-in-straight-table/m-p/882250#M1010439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this (assuming Old Yield and New Yield are your expression Labels):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If([Old Yield] = [New Yield], RGB(255,0,0))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quick Note: Old Yield and New Yield should turn Blue, if they are not turning blue and are red then you might have a column name in your database called Old Yield and New Yield in which case I recommend using Column() functions for both Old Yield and New Yield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming Old Yield is first expression and New Yield is the second expression you can use the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(Column(1) = Column(2), RGB(255,0,0))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 20:56:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-background-colour-in-straight-table/m-p/882250#M1010439</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-05T20:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with background colour in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-background-colour-in-straight-table/m-p/882251#M1010440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope, It didn't work Sunny!!! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 21:05:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-background-colour-in-straight-table/m-p/882251#M1010440</guid>
      <dc:creator />
      <dc:date>2015-05-05T21:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with background colour in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-background-colour-in-straight-table/m-p/882252#M1010441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried to floor both values and then compare them?&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=If(floor([Old Yield],1,0.5) = floor([New Yield],1,0.5), RGB(255,0,0))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 21:56:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-background-colour-in-straight-table/m-p/882252#M1010441</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-05T21:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with background colour in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-background-colour-in-straight-table/m-p/882253#M1010442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aditya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which columns are Dimensions and which ones are Expressions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 22:11:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-background-colour-in-straight-table/m-p/882253#M1010442</guid>
      <dc:creator>nico_ilog</dc:creator>
      <dc:date>2015-05-05T22:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with background colour in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-background-colour-in-straight-table/m-p/882254#M1010443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have one recommendation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;Change this:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Old Yield as =num([Prior Month End Lessor Yield],'##.000')&lt;BR /&gt;New Yield as =num([Month End Lessor Yield],'##.000')&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;To this:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Old Yield as =[Prior Month End Lessor Yield]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;New Yield as =[Month End Lessor Yield]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Then check the rest of the decimals, maybe they are actually different.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;Thereafter,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Use the Number property of your chart to ammend the formatting&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/85734_Capture.JPG" style="max-width: 620px; height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 22:15:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-background-colour-in-straight-table/m-p/882254#M1010443</guid>
      <dc:creator>nico_ilog</dc:creator>
      <dc:date>2015-05-05T22:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with background colour in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-background-colour-in-straight-table/m-p/882255#M1010444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Num() does not round the values off, it simply changes the display format (in fact it does nothing useful in your expression). The numbers highlighted in red are not equal, but the difference is in the part that is hidden by the display format. This should work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(round([Prior Month End Lessor Yield], 0.001) &amp;lt;&amp;gt; round([Month End Lessor Yield], 0.001), rgb(255,0,0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 06:02:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-background-colour-in-straight-table/m-p/882255#M1010444</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-05-06T06:02:51Z</dc:date>
    </item>
  </channel>
</rss>

