<?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 cues in table using set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Visual-cues-in-table-using-set-analysis/m-p/214101#M501555</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both - worked a treat. I knew I was missing something simple...&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Dec 2010 15:09:40 GMT</pubDate>
    <dc:creator>Jason_Michaelides</dc:creator>
    <dc:date>2010-12-06T15:09:40Z</dc:date>
    <item>
      <title>Visual cues in table using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Visual-cues-in-table-using-set-analysis/m-p/214098#M501550</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;This feels really simple so I'm not sure at all why it's not working for me!&lt;/P&gt;&lt;P&gt;I have 3 main tables:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-3010_sourceID:3010" /&gt;&lt;/P&gt;&lt;P&gt;As you can see, CostCentre is the linking field. I have created a simple straight table chart showing the spend this period against last period for each Company (Tree table):&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-3011_sourceID:3011" /&gt;&lt;/P&gt;&lt;P&gt;Expression for Spend this period is&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;=SUM(Amount)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Expression for Spend previous period is&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;SUM( {$&amp;lt;Period = {$(#vPreviousPeriod)}&amp;gt;} Amount )&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;The figures in the chart are accurate so the set analysis is working OK. All I want to do is have the value of this period in red if it is higher than last period and green if it's less than or equal to last period. Shouldn't be difficult! I have gone to Visual Cues, selected the correct expression and added the set analysis formula into the Upper and Lower boxes:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-3012_sourceID:3012" /&gt;&lt;/P&gt;&lt;P&gt;But all the values are green as you can see in the chart image above!&lt;/P&gt;&lt;P&gt;Please help!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Dec 2010 13:21:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Visual-cues-in-table-using-set-analysis/m-p/214098#M501550</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2010-12-06T13:21:24Z</dc:date>
    </item>
    <item>
      <title>Visual cues in table using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Visual-cues-in-table-using-set-analysis/m-p/214099#M501551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jason,&lt;/P&gt;&lt;P&gt;I won't use the Visual Cues. What I prefer is to affect the "Text Color" of an expression. You find it when expanding the [+] from your expression --&amp;gt; check text color --&amp;gt; edit expression similar to this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;if( [Spend this period] - [Spend previous period] &amp;gt; 0, lightgreen( ))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;HtH&lt;/P&gt;&lt;P&gt;Roland&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Dec 2010 14:19:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Visual-cues-in-table-using-set-analysis/m-p/214099#M501551</guid>
      <dc:creator />
      <dc:date>2010-12-06T14:19:47Z</dc:date>
    </item>
    <item>
      <title>Visual cues in table using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Visual-cues-in-table-using-set-analysis/m-p/214100#M501552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Visual cue expressions are evaluated on a global level, not on a row by row basis, to do that you should use the color subexpressions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Dec 2010 14:32:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Visual-cues-in-table-using-set-analysis/m-p/214100#M501552</guid>
      <dc:creator>kji</dc:creator>
      <dc:date>2010-12-06T14:32:49Z</dc:date>
    </item>
    <item>
      <title>Visual cues in table using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Visual-cues-in-table-using-set-analysis/m-p/214101#M501555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both - worked a treat. I knew I was missing something simple...&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Dec 2010 15:09:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Visual-cues-in-table-using-set-analysis/m-p/214101#M501555</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2010-12-06T15:09:40Z</dc:date>
    </item>
  </channel>
</rss>

