<?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: Dimension background color problem in pivot ? bug ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dimension-background-color-problem-in-pivot-bug/m-p/323907#M586978</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, this solution doesn't work if a selection is made on a field which have an impact on the number of possible values for dimension Alpha but no direct selection is made on Alpha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 May 2011 14:06:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-05-25T14:06:33Z</dc:date>
    <item>
      <title>Dimension background color problem in pivot ? bug ?</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-background-color-problem-in-pivot-bug/m-p/323901#M586972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello every one,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Qlikview 10 SR2, i'm trying to assign a different background color to a dimension depending on the values of the dimension but when the expression of the graph returns no value, its associated dimension cell remains white.&lt;/P&gt;&lt;P&gt;I've read some posts about this problem and it was said to uncheck "Suppress Zero-Value" and check "Populate missing values". I've done this and it doesn't change a thing in my case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one help me with this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression set in "background color" option of the dimension is as follows :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;=If (Alpha = 'A', RGB(100, 150, 250),&lt;/P&gt;&lt;P&gt; If (Alpha = 'B', RGB(90, 160, 250),&lt;/P&gt;&lt;P&gt; If (Alpha = 'C', RGB(80, 170, 250),&lt;/P&gt;&lt;P&gt; If (Alpha = 'D', RGB(70, 180, 250),&lt;/P&gt;&lt;P&gt; If (Alpha = 'E', RGB(60, 190, 250),&lt;/P&gt;&lt;P&gt; If (Alpha = 'F', RGB(50, 200, 250),&lt;/P&gt;&lt;P&gt; If (Alpha = 'G', RGB(40, 210, 250),&lt;/P&gt;&lt;P&gt; If (Alpha = 'H', RGB(30, 220, 250),&lt;/P&gt;&lt;P&gt; If (Alpha = 'I', RGB(20, 230, 250),&lt;/P&gt;&lt;P&gt; If (Alpha = 'J', RGB(10, 240, 250),&lt;/P&gt;&lt;P&gt;))))))))))&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also attached an example file which shows the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is highlighted in the following picture, Alpha = 'D' is not colored because the first expression value (Dim22 = 'a') is empty.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="test.jpeg" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/4703_test.jpeg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Damien&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ce message a été modifié par: dcoueron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 14:05:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-background-color-problem-in-pivot-bug/m-p/323901#M586972</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-24T14:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension background color problem in pivot ? bug ?</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-background-color-problem-in-pivot-bug/m-p/323902#M586973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="jive-pre notranslate"&gt;&lt;CODE class="jive-code"&gt;=If (RowNo()= 1, RGB(100, 150, 250),
 If (RowNo()= 2, RGB(90, 160, 250),
 If (RowNo()= 3, RGB(80, 170, 250),
 If (RowNo()= 4, RGB(70, 180, 250),
 If (RowNo()= 5, RGB(60, 190, 250),
 If (RowNo()= 6, RGB(50, 200, 250),
 If (RowNo()= 7, RGB(40, 210, 250),
 If (RowNo()= 8, RGB(30, 220, 250),
 If (RowNo()= 9, RGB(20, 230, 250),
 If (RowNo()= 10, RGB(10, 240, 250),
))))))))))
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;With RowNo() the cell is colored even if the first value of Dim22 is empty. I'm not sure that's exactly what you need, but it works in this case&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="test_dc.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/4717_test_dc.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 08:47:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-background-color-problem-in-pivot-bug/m-p/323902#M586973</guid>
      <dc:creator />
      <dc:date>2011-05-25T08:47:14Z</dc:date>
    </item>
    <item>
      <title>Dimension background color problem in pivot ? bug ?</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-background-color-problem-in-pivot-bug/m-p/323903#M586974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I changed the background color expression as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If (Alpha = 'A', RGB(100, 150, 250),&lt;/P&gt;&lt;P&gt; If (Alpha = 'B', RGB(90, 160, 250),&lt;/P&gt;&lt;P&gt; If (Alpha = 'C', RGB(80, 170, 250),&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; If (Alpha = 'D' or IsNull(Alpha), RGB(70, 180, 250),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; If (Alpha = 'E', RGB(60, 190, 250),&lt;/P&gt;&lt;P&gt; If (Alpha = 'F', RGB(50, 200, 250),&lt;/P&gt;&lt;P&gt; If (Alpha = 'G', RGB(40, 210, 250),&lt;/P&gt;&lt;P&gt; If (Alpha = 'H', RGB(30, 220, 250),&lt;/P&gt;&lt;P&gt; If (Alpha = 'I', RGB(20, 230, 250),&lt;/P&gt;&lt;P&gt; If (Alpha = 'J', RGB(10, 240, 250),&lt;/P&gt;&lt;P&gt;))))))))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 08:54:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-background-color-problem-in-pivot-bug/m-p/323903#M586974</guid>
      <dc:creator />
      <dc:date>2011-05-25T08:54:41Z</dc:date>
    </item>
    <item>
      <title>Dimension background color problem in pivot ? bug ?</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-background-color-problem-in-pivot-bug/m-p/323904#M586975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; i had that problem some time ago, and the support line told me that this case was a WAD (Work As Design). The only solution is, as aiklamha says, ﻿put a specific color for the value that fails, but this is a solution very dificult to mainteain if the dimension data often vary. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone knows how to solve it, i also welcome the information.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 09:43:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-background-color-problem-in-pivot-bug/m-p/323904#M586975</guid>
      <dc:creator>marcos</dc:creator>
      <dc:date>2011-05-25T09:43:32Z</dc:date>
    </item>
    <item>
      <title>Dimension background color problem in pivot ? bug ?</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-background-color-problem-in-pivot-bug/m-p/323905#M586976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all for your answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case the "or IsNull(Alpha)" solution will not work as there is more than one value that fails (D and G for example).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the solution with RowNo() will work until there is a selection made on the Alpha dimension. In this case, the rowno won't be the same any more.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 10:03:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-background-color-problem-in-pivot-bug/m-p/323905#M586976</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-25T10:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension background color problem in pivot ? bug ?</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-background-color-problem-in-pivot-bug/m-p/323906#M586977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think i found a solution which works even when selections are made on the dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Background color setting for the Alpha dimension is as follows :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;=If (SubField(GetFieldSelections(Alpha, ',', 26), ',', RowNo()) = 'A' Or (GetAlternativeCount(Alpha) = 0 And RowNo() = 1), RGB(100, 150, 250),&lt;/P&gt;&lt;P&gt; If (SubField(GetFieldSelections(Alpha, ',', 26), ',', RowNo()) = 'B' Or (GetAlternativeCount(Alpha) = 0 And RowNo() = 2), RGB(90, 160, 250),&lt;/P&gt;&lt;P&gt; If (SubField(GetFieldSelections(Alpha, ',', 26), ',', RowNo()) = 'C' Or (GetAlternativeCount(Alpha) = 0 And RowNo() = 3), RGB(80, 170, 250),&lt;/P&gt;&lt;P&gt; If (SubField(GetFieldSelections(Alpha, ',', 26), ',', RowNo()) = 'D' Or (GetAlternativeCount(Alpha) = 0 And RowNo() = 4), RGB(70, 180, 250),&lt;/P&gt;&lt;P&gt; If (SubField(GetFieldSelections(Alpha, ',', 26), ',', RowNo()) = 'E' Or (GetAlternativeCount(Alpha) = 0 And RowNo() = 5), RGB(60, 190, 250),&lt;/P&gt;&lt;P&gt; If (SubField(GetFieldSelections(Alpha, ',', 26), ',', RowNo()) = 'F' Or (GetAlternativeCount(Alpha) = 0 And RowNo() = 6), RGB(50, 200, 250),&lt;/P&gt;&lt;P&gt; If (SubField(GetFieldSelections(Alpha, ',', 26), ',', RowNo()) = 'G' Or (GetAlternativeCount(Alpha) = 0 And RowNo() = 7), RGB(40, 210, 250),&lt;/P&gt;&lt;P&gt; If (SubField(GetFieldSelections(Alpha, ',', 26), ',', RowNo()) = 'H' Or (GetAlternativeCount(Alpha) = 0 And RowNo() = 8), RGB(30, 220, 250),&lt;/P&gt;&lt;P&gt; If (SubField(GetFieldSelections(Alpha, ',', 26), ',', RowNo()) = 'I' Or (GetAlternativeCount(Alpha) = 0 And RowNo() = 9), RGB(20, 230, 250),&lt;/P&gt;&lt;P&gt; If (SubField(GetFieldSelections(Alpha, ',', 26), ',', RowNo()) = 'J' Or (GetAlternativeCount(Alpha) = 0 And RowNo() = 10), RGB(10, 240, 250),&lt;/P&gt;&lt;P&gt;))))))))))&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A warning so : this solution won't work if the order of the dimension values in the pivot table changes.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached an example application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Damien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 12:28:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-background-color-problem-in-pivot-bug/m-p/323906#M586977</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-25T12:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension background color problem in pivot ? bug ?</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-background-color-problem-in-pivot-bug/m-p/323907#M586978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, this solution doesn't work if a selection is made on a field which have an impact on the number of possible values for dimension Alpha but no direct selection is made on Alpha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 14:06:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-background-color-problem-in-pivot-bug/m-p/323907#M586978</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-25T14:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension background color problem in pivot ? bug ?</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-background-color-problem-in-pivot-bug/m-p/323908#M586979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This won't work in every case, but it works for this specific case because there are SOME values out there for Alpha = D.&amp;nbsp; Maybe it'll be good enough for your actual application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;=If(only({1} total &amp;lt;Alpha&amp;gt; Alpha) = 'A', RGB(100, 150, 250),&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;If (only({1} total &amp;lt;Alpha&amp;gt; Alpha) = 'B', RGB(90, 160, 250),&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;If (only({1} total &amp;lt;Alpha&amp;gt; Alpha) = 'C', RGB(80, 170, 250),&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;If (only({1} total &amp;lt;Alpha&amp;gt; Alpha) = 'D', RGB(70, 180, 250),&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;If (only({1} total &amp;lt;Alpha&amp;gt; Alpha) = 'E', RGB(60, 190, 250),&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;If (only({1} total &amp;lt;Alpha&amp;gt; Alpha) = 'F', RGB(50, 200, 250),&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;If (only({1} total &amp;lt;Alpha&amp;gt; Alpha) = 'G', RGB(40, 210, 250),&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;If (only({1} total &amp;lt;Alpha&amp;gt; Alpha) = 'H', RGB(30, 220, 250),&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;If (only({1} total &amp;lt;Alpha&amp;gt; Alpha) = 'I', RGB(20, 230, 250),&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;If (only({1} total &amp;lt;Alpha&amp;gt; Alpha) = 'J', RGB(10, 240, 250),&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;))))))))))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Edit:&amp;nbsp; Or not.&amp;nbsp; Just noticed that you have a "show all values" in there.&amp;nbsp; So anything for which there is no selected data at all won't get the color.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Edit:&amp;nbsp; Fixed with set analysis.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 16:35:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-background-color-problem-in-pivot-bug/m-p/323908#M586979</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-05-25T16:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension background color problem in pivot ? bug ?</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-background-color-problem-in-pivot-bug/m-p/323909#M586980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's another approach.&amp;nbsp; Use a data island for the dimension, and use sum(if()) to link it to your data.&amp;nbsp; It'll cause performance problems on large data sets of course, but works even if there is NO data that matches in the entire database, and you're showing all values so that it's still visible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;AlphaIsland:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LOAD text(fieldvalue('Alpha',recno())) as Alpha2&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;AUTOGENERATE fieldvaluecount('Alpha');&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;CONCATENATE (AlphaIsland) // to demonstrate coloring with no data&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LOAD '[' as Alpha2&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;AUTOGENERATE 1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;dimension 1 = Alpha2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;dimension 2 = dim22&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;expression&amp;nbsp; = sum(if(Alpha=Alpha2,Expression32))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;=If(Alpha2 = 'A', RGB(100, 150, 250),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;If (Alpha2 = 'B', RGB(90, 160, 250),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;If (Alpha2 = 'C', RGB(80, 170, 250),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;If (Alpha2 = 'D', RGB(70, 180, 250),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;If (Alpha2 = 'E', RGB(60, 190, 250),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;If (Alpha2 = 'F', RGB(50, 200, 250),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;If (Alpha2 = 'G', RGB(40, 210, 250),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;If (Alpha2 = 'H', RGB(30, 220, 250),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;If (Alpha2 = 'I', RGB(20, 230, 250),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;If (Alpha2 = 'J', RGB(10, 240, 250),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;if (Alpha2 = '[', lightgray() // to demonstrate coloring with no data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;)))))))))))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 16:54:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-background-color-problem-in-pivot-bug/m-p/323909#M586980</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-05-25T16:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension background color problem in pivot ? bug ?</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-background-color-problem-in-pivot-bug/m-p/323910#M586981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you John for your answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried your first solution because our dataset is quite big and i don't want to use a data island if i don't have to.&lt;/P&gt;&lt;P&gt;I also had a problem with your first solution because no matter what selection i make on the Alpha dimension, every value is always shown in the pivot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the mean time i came up with an other formula which does what i need (but i think it could be more resources consuming) :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt; IF(only({$ &amp;lt;Alpha={'A'}&amp;gt;} TOTAL aggr(rank(TOTAL 26-ord(Alpha)), Alpha)) = RowNo(TOTAL), RGB(100, 150, 250),&lt;/P&gt;&lt;P&gt; IF(only({$ &amp;lt;Alpha={'B'}&amp;gt;} TOTAL aggr(rank(TOTAL 26-ord(Alpha)), Alpha)) = RowNo(TOTAL), RGB(90, 160, 250),&lt;/P&gt;&lt;P&gt; IF(only({$ &amp;lt;Alpha={'C'}&amp;gt;} TOTAL aggr(rank(TOTAL 26-ord(Alpha)), Alpha)) = RowNo(TOTAL), RGB(80, 170, 250),&lt;/P&gt;&lt;P&gt; IF(only({$ &amp;lt;Alpha={'D'}&amp;gt;} TOTAL aggr(rank(TOTAL 26-ord(Alpha)), Alpha)) = RowNo(TOTAL), RGB(70, 180, 250),&lt;/P&gt;&lt;P&gt; IF(only({$ &amp;lt;Alpha={'E'}&amp;gt;} TOTAL aggr(rank(TOTAL 26-ord(Alpha)), Alpha)) = RowNo(TOTAL), RGB(60, 190, 250),&lt;/P&gt;&lt;P&gt; IF(only({$ &amp;lt;Alpha={'F'}&amp;gt;} TOTAL aggr(rank(TOTAL 26-ord(Alpha)), Alpha)) = RowNo(TOTAL), RGB(50, 200, 250),&lt;/P&gt;&lt;P&gt; IF(only({$ &amp;lt;Alpha={'G'}&amp;gt;} TOTAL aggr(rank(TOTAL 26-ord(Alpha)), Alpha)) = RowNo(TOTAL), RGB(40, 210, 250),&lt;/P&gt;&lt;P&gt; IF(only({$ &amp;lt;Alpha={'H'}&amp;gt;} TOTAL aggr(rank(TOTAL 26-ord(Alpha)), Alpha)) = RowNo(TOTAL), RGB(30, 220, 250),&lt;/P&gt;&lt;P&gt; IF(only({$ &amp;lt;Alpha={'I'}&amp;gt;} TOTAL aggr(rank(TOTAL 26-ord(Alpha)), Alpha)) = RowNo(TOTAL), RGB(20, 230, 250),&lt;/P&gt;&lt;P&gt; IF(only({$ &amp;lt;Alpha={'J'}&amp;gt;} TOTAL aggr(rank(TOTAL 26-ord(Alpha)), Alpha)) = RowNo(TOTAL), RGB(10, 240, 250)&lt;/P&gt;&lt;P&gt;))))))))))&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : I doesn't work if the order of the pivot table is not the dimension order but it's okay for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks every one !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 17:16:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-background-color-problem-in-pivot-bug/m-p/323910#M586981</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-25T17:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension background color problem in pivot ? bug ?</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-background-color-problem-in-pivot-bug/m-p/323911#M586982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assumed you wanted to show all values because you explicitly checkmarked "show all values" in your pivot table.&amp;nbsp; If you &lt;EM&gt;don't&lt;/EM&gt;want to show all values, remove the "show all values" checkmark and remove the {1} I added when I noticed you had "show all values" checkmarked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;=If(only(total &amp;lt;Alpha&amp;gt; Alpha) = 'A', RGB(100, 150, 250),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;If (only(total &amp;lt;Alpha&amp;gt; Alpha) = 'B', RGB(90, 160, 250),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;If (only(total &amp;lt;Alpha&amp;gt; Alpha) = 'C', RGB(80, 170, 250),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;If (only(total &amp;lt;Alpha&amp;gt; Alpha) = 'D', RGB(70, 180, 250),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;If (only(total &amp;lt;Alpha&amp;gt; Alpha) = 'E', RGB(60, 190, 250),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;If (only(total &amp;lt;Alpha&amp;gt; Alpha) = 'F', RGB(50, 200, 250),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;If (only(total &amp;lt;Alpha&amp;gt; Alpha) = 'G', RGB(40, 210, 250),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;If (only(total &amp;lt;Alpha&amp;gt; Alpha) = 'H', RGB(30, 220, 250),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;If (only(total &amp;lt;Alpha&amp;gt; Alpha) = 'I', RGB(20, 230, 250),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;If (only(total &amp;lt;Alpha&amp;gt; Alpha) = 'J', RGB(10, 240, 250),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;))))))))))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 17:30:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-background-color-problem-in-pivot-bug/m-p/323911#M586982</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-05-25T17:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension background color problem in pivot ? bug ?</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-background-color-problem-in-pivot-bug/m-p/323912#M586983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it works perfectly.&lt;/P&gt;&lt;P&gt;Thank you a lot !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 17:37:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-background-color-problem-in-pivot-bug/m-p/323912#M586983</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-25T17:37:51Z</dc:date>
    </item>
  </channel>
</rss>

