<?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 Display cost variance with calculated colour presentation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Display-cost-variance-with-calculated-colour-presentation/m-p/322057#M118655</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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Instead of RGB you can use the Green() and Red() functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; For example&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( condition &amp;gt;= 0,Red(),Green())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 May 2011 09:30:08 GMT</pubDate>
    <dc:creator>kaushiknsolanki</dc:creator>
    <dc:date>2011-05-24T09:30:08Z</dc:date>
    <item>
      <title>Display cost variance with calculated colour presentation</title>
      <link>https://community.qlik.com/t5/QlikView/Display-cost-variance-with-calculated-colour-presentation/m-p/322056#M118654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following expression in a text box which I want to calculate the difference between the sum of NCOVAC in the current week and week-1 and calculate the positive/negative financial cost (£733/unit) &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;=(SUM({&amp;lt; Week_Class = {'Current Week'} &amp;gt;} NCOVAC) + &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(SUM({&amp;lt; Week_Class = {'Week-1'} &amp;gt;} NCOVAC)))*733&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;This sum is working I.e. if there was 12 NCOVAC week-1 but 8 NCOVAC current week, I get -2932 (4 x 733) but when I adjust the number format settings to Money,I still cannot get the £ symbol.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;I'd also like to display any negative cost difference as green and positive cost difference as red but I cannot get the RGB calculated colour settings right.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;Thanks for any help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 09:02:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-cost-variance-with-calculated-colour-presentation/m-p/322056#M118654</guid>
      <dc:creator />
      <dc:date>2011-05-24T09:02:18Z</dc:date>
    </item>
    <item>
      <title>Display cost variance with calculated colour presentation</title>
      <link>https://community.qlik.com/t5/QlikView/Display-cost-variance-with-calculated-colour-presentation/m-p/322057#M118655</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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Instead of RGB you can use the Green() and Red() functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; For example&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( condition &amp;gt;= 0,Red(),Green())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 09:30:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-cost-variance-with-calculated-colour-presentation/m-p/322057#M118655</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-05-24T09:30:08Z</dc:date>
    </item>
    <item>
      <title>Display cost variance with calculated colour presentation</title>
      <link>https://community.qlik.com/t5/QlikView/Display-cost-variance-with-calculated-colour-presentation/m-p/322058#M118656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks Kaushik but its still showing only green...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF(SUM({&amp;lt; Week_Class = {'Current Week'} &amp;gt;} NCOVAC) - &lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;SUM({&amp;lt; Week_Class = {'Week-1'} &amp;gt;} NCOVAC)*733 &amp;gt;0, Red (255), Green(255)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 09:44:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-cost-variance-with-calculated-colour-presentation/m-p/322058#M118656</guid>
      <dc:creator />
      <dc:date>2011-05-24T09:44:03Z</dc:date>
    </item>
    <item>
      <title>Display cost variance with calculated colour presentation</title>
      <link>https://community.qlik.com/t5/QlikView/Display-cost-variance-with-calculated-colour-presentation/m-p/322059#M118657</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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Just give red(), not the Red(255). same for the green&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 10:15:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-cost-variance-with-calculated-colour-presentation/m-p/322059#M118657</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-05-24T10:15:21Z</dc:date>
    </item>
    <item>
      <title>Display cost variance with calculated colour presentation</title>
      <link>https://community.qlik.com/t5/QlikView/Display-cost-variance-with-calculated-colour-presentation/m-p/322060#M118658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks Kaushik, the colour is working now. Any ideas on converting this to &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=(SUM({&amp;lt; Week_Class = {'Current Week'} &amp;gt;} NCOVAC) -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(SUM({&amp;lt; Week_Class = {'Week-1'} &amp;gt;} NCOVAC)))*733 to show as £ value in LED textbox?&lt;/P&gt;&lt;SPAN style=": ; font-size: 1;"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 10:33:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-cost-variance-with-calculated-colour-presentation/m-p/322060#M118658</guid>
      <dc:creator />
      <dc:date>2011-05-24T10:33:43Z</dc:date>
    </item>
  </channel>
</rss>

