<?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 Visual Cue greater than total in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Visual-Cue-greater-than-total/m-p/373450#M138959</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can i add a visual cue, that includes the condition if greater than the total, highlight green?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the expression is variance calculation, right now its sell thru TY - sell thru LY. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 May 2012 20:41:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-05-29T20:41:14Z</dc:date>
    <item>
      <title>Visual Cue greater than total</title>
      <link>https://community.qlik.com/t5/QlikView/Visual-Cue-greater-than-total/m-p/373450#M138959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can i add a visual cue, that includes the condition if greater than the total, highlight green?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the expression is variance calculation, right now its sell thru TY - sell thru LY. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 20:41:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Visual-Cue-greater-than-total/m-p/373450#M138959</guid>
      <dc:creator />
      <dc:date>2012-05-29T20:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Visual Cue greater than total</title>
      <link>https://community.qlik.com/t5/QlikView/Visual-Cue-greater-than-total/m-p/373451#M138960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try a background color attribute expression from expression tab (open attributes by clicking on the plus sign next to your expression) instead of a visual cue to enter a color expression like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=if( (sum(SalesTY)-sum(SalesLY) ) &amp;gt; (sum(total SalesTY)-sum(total SalesLY) ), green() ) &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not 100% sure about the sum expression, in principal you need to use something like &lt;/P&gt;&lt;P&gt;if( yourLineExpression &amp;gt; yourTotalExpresssion, green() )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where yourLineExpression is calculating your table line values per dimension (essentially your current expression), and yourTotalExpression calculates the total value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached for a simple example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 21:24:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Visual-Cue-greater-than-total/m-p/373451#M138960</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-05-29T21:24:50Z</dc:date>
    </item>
  </channel>
</rss>

