<?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 Assign Color Condicional Value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Assign-Color-Condicional-Value/m-p/211367#M65663</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I tried something similar to what you've done and everything is working fine with zero values.&lt;/P&gt;&lt;P style="text-align:center;"&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/4846.mypivot.JPG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/4846.mypivot.JPG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I just created an inline table to simulate your data. I used two fields (F1 and F2) and put them into a pivot: F1 vertically while F2 horizontally, as I think you did &lt;I&gt;Customer Name&lt;/I&gt; and &lt;I&gt;Week&lt;/I&gt;.&lt;/P&gt;&lt;P&gt;The expression I used is the following:&lt;/P&gt;&lt;P style="text-align:center;"&gt;&lt;CODE&gt;if(F2 = 1,green(),if(F2 = 3,blue(),yellow()))&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;Actually, with null values I see that background formatting doesn't apply.&lt;/P&gt;&lt;P&gt;So my suggestion is to, if you think it's right for you, disable &lt;I&gt;Suppress Zero-Values&lt;/I&gt; (tab &lt;I&gt;Presentation&lt;/I&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.: To verify an answer just click on &lt;I&gt;Verify Answer&lt;/I&gt; button on the top-right corner of each answer you receive.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Dec 2010 15:10:17 GMT</pubDate>
    <dc:creator>googel84</dc:creator>
    <dc:date>2010-12-03T15:10:17Z</dc:date>
    <item>
      <title>Assign Color Condicional Value</title>
      <link>https://community.qlik.com/t5/QlikView/Assign-Color-Condicional-Value/m-p/211362#M65658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dears,&lt;/P&gt;&lt;P&gt;I would like to assign differents colors to my expresions (in a pivot table) depending of the week, i.e. past and future. For instance, if we are currently in week 48 and I have received US$300 in week 46, US$100 in week 47, however I expect US$200 in week 48, US$500 in week 49 and US$50 in week 50 (as per below customer ABC), I would like the first two values in red (past) and the values for weeks 48, 49 and 50 in blue (present &amp;amp; future).&lt;/P&gt;&lt;P&gt;How can I do that??.&lt;/P&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="562"&gt;&lt;COL style="width: 122pt;" width="162" /&gt;&lt;COL span="5" style="width: 60pt;" width="80" /&gt;&lt;TBODY&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl24" height="17" style="height: 12.75pt; width: 122pt;" width="162"&gt;Customer Name&lt;/TD&gt;&lt;TD class="xl25" style="border-left: medium none; width: 60pt;" width="80"&gt;2010-46&lt;/TD&gt;&lt;TD class="xl25" style="border-left: medium none; width: 60pt;" width="80"&gt;2010-47&lt;/TD&gt;&lt;TD class="xl25" style="border-left: medium none; width: 60pt;" width="80"&gt;2010-48&lt;/TD&gt;&lt;TD class="xl25" style="border-left: medium none; width: 60pt;" width="80"&gt;2010-49&lt;/TD&gt;&lt;TD class="xl25" style="border-left: medium none; width: 60pt;" width="80"&gt;2010-50&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl26" height="17" style="height: 12.75pt; border-top: medium none;"&gt;IMPORTER ABC&lt;/TD&gt;&lt;TD class="xl27" style="border-top: medium none; border-left: medium none;"&gt;$ 300&lt;/TD&gt;&lt;TD class="xl27" style="border-top: medium none; border-left: medium none;"&gt;$ 100&lt;/TD&gt;&lt;TD class="xl28" style="border-top: medium none; border-left: medium none;"&gt;$ 200&lt;/TD&gt;&lt;TD class="xl28" style="border-top: medium none; border-left: medium none;"&gt;$ 500&lt;/TD&gt;&lt;TD class="xl28" style="border-top: medium none; border-left: medium none;"&gt;$ 50&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl26" height="17" style="height: 12.75pt; border-top: medium none;"&gt;HAPPY TRADING CO&lt;/TD&gt;&lt;TD class="xl27" style="border-top: medium none; border-left: medium none;"&gt;$ 40&lt;/TD&gt;&lt;TD class="xl27" style="border-top: medium none; border-left: medium none;"&gt;$ 150&lt;/TD&gt;&lt;TD class="xl28" style="border-top: medium none; border-left: medium none;"&gt;$ 50&lt;/TD&gt;&lt;TD class="xl28" style="border-top: medium none; border-left: medium none;"&gt;$ 100&lt;/TD&gt;&lt;TD class="xl28" style="border-top: medium none; border-left: medium none;"&gt;$ 250&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Mauriccio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 18:01:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assign-Color-Condicional-Value/m-p/211362#M65658</guid>
      <dc:creator />
      <dc:date>2010-12-02T18:01:03Z</dc:date>
    </item>
    <item>
      <title>Assign Color Condicional Value</title>
      <link>https://community.qlik.com/t5/QlikView/Assign-Color-Condicional-Value/m-p/211363#M65659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mauricio&lt;/P&gt;&lt;P&gt;try with chart properties - expression&lt;/P&gt;&lt;P&gt;and after expand your express and set background color&lt;/P&gt;&lt;P&gt;Ric.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 18:18:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assign-Color-Condicional-Value/m-p/211363#M65659</guid>
      <dc:creator />
      <dc:date>2010-12-02T18:18:22Z</dc:date>
    </item>
    <item>
      <title>Assign Color Condicional Value</title>
      <link>https://community.qlik.com/t5/QlikView/Assign-Color-Condicional-Value/m-p/211364#M65660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest you to set your expressions' &lt;I&gt;Backgroung Color&lt;/I&gt; with an expression based on &lt;I&gt;if&lt;/I&gt; function. Type your if expression under: &lt;I&gt;Chart Properties&lt;/I&gt; -&amp;gt; &lt;I&gt;Expression&lt;/I&gt; tab -&amp;gt; click on &lt;I&gt;+&lt;/I&gt; signal beside the expression to modify -&amp;gt; double click on &lt;I&gt;Background Color&lt;/I&gt;.&lt;/P&gt;&lt;P&gt;The problem with this solution is that you'll colour also column headers!!&lt;/P&gt;&lt;P&gt;Take a look to one of my post&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/forums/t/35563.aspx" target="_blank"&gt;http://community.qlik.com/forums/t/35563.aspx&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 18:22:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assign-Color-Condicional-Value/m-p/211364#M65660</guid>
      <dc:creator>googel84</dc:creator>
      <dc:date>2010-12-02T18:22:56Z</dc:date>
    </item>
    <item>
      <title>Assign Color Condicional Value</title>
      <link>https://community.qlik.com/t5/QlikView/Assign-Color-Condicional-Value/m-p/211365#M65661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mconcha, please provide me with your &lt;I&gt;Background Colour&lt;/I&gt; function.&lt;/P&gt;&lt;P&gt;P.S. I kindly ask you to post your question/answer on your own post and, by the way, remember to set my answer as verified.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Dec 2010 10:00:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assign-Color-Condicional-Value/m-p/211365#M65661</guid>
      <dc:creator>googel84</dc:creator>
      <dc:date>2010-12-03T10:00:13Z</dc:date>
    </item>
    <item>
      <title>Assign Color Condicional Value</title>
      <link>https://community.qlik.com/t5/QlikView/Assign-Color-Condicional-Value/m-p/211366#M65662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !!!,&lt;/P&gt;&lt;P&gt;Good day.&lt;/P&gt;&lt;P&gt;This is the one.&lt;/P&gt;&lt;P&gt;Normal 0 21 false false false MicrosoftInternetExplorer4&lt;/P&gt;&lt;P style="text-align: left"&gt;=If(Week(Today()) &amp;gt; Week, Green(), Yellow())&lt;/P&gt;&lt;P style="text-align: left"&gt;All the values in zero or null, do not apply. The rest are all ok.&lt;/P&gt;&lt;P style="text-align: left"&gt;Regarding your PS, I will do. However I don't know how to verify.&lt;/P&gt;&lt;P style="text-align: left"&gt;Many thanks.&lt;/P&gt;&lt;P style="text-align: left"&gt;Mauriccio&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Dec 2010 12:57:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assign-Color-Condicional-Value/m-p/211366#M65662</guid>
      <dc:creator />
      <dc:date>2010-12-03T12:57:53Z</dc:date>
    </item>
    <item>
      <title>Assign Color Condicional Value</title>
      <link>https://community.qlik.com/t5/QlikView/Assign-Color-Condicional-Value/m-p/211367#M65663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I tried something similar to what you've done and everything is working fine with zero values.&lt;/P&gt;&lt;P style="text-align:center;"&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/4846.mypivot.JPG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/4846.mypivot.JPG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I just created an inline table to simulate your data. I used two fields (F1 and F2) and put them into a pivot: F1 vertically while F2 horizontally, as I think you did &lt;I&gt;Customer Name&lt;/I&gt; and &lt;I&gt;Week&lt;/I&gt;.&lt;/P&gt;&lt;P&gt;The expression I used is the following:&lt;/P&gt;&lt;P style="text-align:center;"&gt;&lt;CODE&gt;if(F2 = 1,green(),if(F2 = 3,blue(),yellow()))&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;Actually, with null values I see that background formatting doesn't apply.&lt;/P&gt;&lt;P&gt;So my suggestion is to, if you think it's right for you, disable &lt;I&gt;Suppress Zero-Values&lt;/I&gt; (tab &lt;I&gt;Presentation&lt;/I&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.: To verify an answer just click on &lt;I&gt;Verify Answer&lt;/I&gt; button on the top-right corner of each answer you receive.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Dec 2010 15:10:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assign-Color-Condicional-Value/m-p/211367#M65663</guid>
      <dc:creator>googel84</dc:creator>
      <dc:date>2010-12-03T15:10:17Z</dc:date>
    </item>
  </channel>
</rss>

