<?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: Colouring a Pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Colouring-a-Pivot-table/m-p/369731#M576308</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Oscar for your reply, but your example appears to work due to the fact that Qlikview is not regarding the 0 as missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I pull the data in from a spreadsheet, Qlikvire regards the blanks as missing, ands its these ones that I can get highlighted. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached my document which may help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 May 2012 13:12:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-05-28T13:12:45Z</dc:date>
    <item>
      <title>Colouring a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Colouring-a-Pivot-table/m-p/369728#M576304</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;I'm hoping someone can help me. I a pivot table and I would like to colour a part of it red.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="untitled.bmp" class="jive-image-thumbnail jive-image" height="64" onclick="" src="https://community.qlik.com/legacyfs/online/14753_untitled.bmp" width="668" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have week numbers along the top and I would like to coulour anything that is 18 and over. I can get it to do it if there is a value, But I would like it to do it regardless of the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this makes sense.&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;Simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2012 13:06:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colouring-a-Pivot-table/m-p/369728#M576304</guid>
      <dc:creator />
      <dc:date>2012-05-25T13:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Colouring a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Colouring-a-Pivot-table/m-p/369729#M576305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm going under the assumpition that your RTT_Value field is a dimension.&amp;nbsp; Go to the dimensions tab click on the "+" sign next to your field and use an expression like this for your background color.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If( Value &amp;gt;= 18, LightRed(), White() )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2012 15:43:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colouring-a-Pivot-table/m-p/369729#M576305</guid>
      <dc:creator>oscar_ortiz</dc:creator>
      <dc:date>2012-05-25T15:43:26Z</dc:date>
    </item>
    <item>
      <title>Colouring a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Colouring-a-Pivot-table/m-p/369730#M576307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your formula works with QV 10 SR 4, but not QV 11 SR 1 !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it's a bug in QV 11, because it works if the dimension is vertical, but not horizontal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2012 16:28:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colouring-a-Pivot-table/m-p/369730#M576307</guid>
      <dc:creator />
      <dc:date>2012-05-25T16:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Colouring a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Colouring-a-Pivot-table/m-p/369731#M576308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Oscar for your reply, but your example appears to work due to the fact that Qlikview is not regarding the 0 as missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I pull the data in from a spreadsheet, Qlikvire regards the blanks as missing, ands its these ones that I can get highlighted. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached my document which may help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2012 13:12:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colouring-a-Pivot-table/m-p/369731#M576308</guid>
      <dc:creator />
      <dc:date>2012-05-28T13:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: Colouring a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Colouring-a-Pivot-table/m-p/369732#M576310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Simon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try following expression which is slight modification of Oscar's expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If( Value &amp;gt;= 18 or len(Value)=0, LightRed(), White() )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure about its behaviour in QV 11.&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;Regards,&lt;/P&gt;&lt;P&gt;Neha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2012 13:26:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colouring-a-Pivot-table/m-p/369732#M576310</guid>
      <dc:creator />
      <dc:date>2012-05-28T13:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Colouring a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Colouring-a-Pivot-table/m-p/369733#M576312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your responses, I have just read a post which I think answers my question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apparently you can't colour the background of a cell that has a missing value:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/46286"&gt;Background color for pivot table cells with MISSING values&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get my counts I am counting an ID field, is there a away to replace a missing count with a value of 0?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expression is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COUNT(id)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried this but it didn't work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(COUNT(id)=0,0,COUNTid))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas would be greatly appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2012 14:59:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colouring-a-Pivot-table/m-p/369733#M576312</guid>
      <dc:creator />
      <dc:date>2012-05-28T14:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Colouring a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Colouring-a-Pivot-table/m-p/369734#M576314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;COUNT(id) will return "null()" if there is no value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try instead&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;rangesum(COUNT(id), 0)&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2012 15:02:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colouring-a-Pivot-table/m-p/369734#M576314</guid>
      <dc:creator />
      <dc:date>2012-05-28T15:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: Colouring a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Colouring-a-Pivot-table/m-p/369735#M576316</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;COUNT(id) returns missing, I know this by changing the symbol under the prestation table for missing and seeing where it appears in the pivot. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rangemax(COUNT(id), 0)&amp;nbsp; didn't change anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But thank you for the quick response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2012 15:59:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colouring-a-Pivot-table/m-p/369735#M576316</guid>
      <dc:creator />
      <dc:date>2012-05-28T15:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: Colouring a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Colouring-a-Pivot-table/m-p/369736#M576318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I meant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;rangesum(COUNT(id), 0)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2012 16:13:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colouring-a-Pivot-table/m-p/369736#M576318</guid>
      <dc:creator />
      <dc:date>2012-05-28T16:13:34Z</dc:date>
    </item>
  </channel>
</rss>

