<?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: Cell color in pivot based on Dimensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cell-color-in-pivot-based-on-Dimensions/m-p/934694#M322795</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For dimensions(s) that is are not selected (or not possible), you want the cells background to be white? You can use any aggregation function to test the "1 - $" set, which is the inverse of current selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(count({1-$} dimension1)&amp;gt;0, white())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Oct 2015 07:26:07 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2015-10-21T07:26:07Z</dc:date>
    <item>
      <title>Cell color in pivot based on Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Cell-color-in-pivot-based-on-Dimensions/m-p/934692#M322793</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 have created a pivot table with two dimensions dimension1 and dimension2 &lt;/P&gt;&lt;P&gt;One aligned horizontally and second vertically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say the dimension1 contains value a,b,c and dimension2 contains value x,y,z as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="97.181818" style="border: 1px solid #000000; width: 277.182px; height: 88.1818px;" width="274.181818"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align:center;background-color:#6690BC;color:#ffffff;padding:2px;" valign="middle"&gt;Dimension1\Dimension2&lt;/TH&gt;&lt;TH style="text-align:center;background-color:#6690BC;color:#ffffff;padding:2px;" valign="middle"&gt;x&lt;/TH&gt;&lt;TH style="text-align:center;background-color:#6690BC;color:#ffffff;padding:2px;" valign="middle"&gt;&lt;STRONG&gt;y&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align:center;background-color:#6690BC;color:#ffffff;padding:2px;" valign="middle"&gt;&lt;STRONG&gt;z&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;a&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;ax&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;ay&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;az&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;b&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;bx&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;by&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;bz&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;c&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;cx&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;cy&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;cz&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt; I want the background cell color to be fixed to some specific color and different for all the cells. So, Have written an expression in background color of expression. &lt;/P&gt;&lt;P&gt;The dimensions are static.&lt;/P&gt;&lt;P&gt;So based on selections, few cell value turns to zero and also the background color fades to white.&lt;/P&gt;&lt;P&gt;Is there any way to handle this?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;A href="https://community.qlik.com/qlik-users/4003"&gt;hic&lt;/A&gt; can u suggest something?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anjali Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 07:05:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cell-color-in-pivot-based-on-Dimensions/m-p/934692#M322793</guid>
      <dc:creator />
      <dc:date>2015-10-21T07:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Cell color in pivot based on Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Cell-color-in-pivot-based-on-Dimensions/m-p/934693#M322794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Go to Menu bar --&amp;gt; View --&amp;gt; click on Design Grid&lt;/P&gt;&lt;P&gt;2. right click on pivot table and click on custom format cell&lt;/P&gt;&lt;P&gt;3. On custom format cell window you will find Apply change to drop down. Select Current expression from this drop down.&lt;/P&gt;&lt;P&gt;4. And Change the background color.&lt;/P&gt;&lt;P&gt;5. Along with the above you have to do the background color expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here trick is Background color expression will take precedence and for all cross tab nulls/zeros design grid color will take next. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 07:13:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cell-color-in-pivot-based-on-Dimensions/m-p/934693#M322794</guid>
      <dc:creator>phaneendra_kunc</dc:creator>
      <dc:date>2015-10-21T07:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Cell color in pivot based on Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Cell-color-in-pivot-based-on-Dimensions/m-p/934694#M322795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For dimensions(s) that is are not selected (or not possible), you want the cells background to be white? You can use any aggregation function to test the "1 - $" set, which is the inverse of current selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(count({1-$} dimension1)&amp;gt;0, white())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 07:26:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cell-color-in-pivot-based-on-Dimensions/m-p/934694#M322795</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-10-21T07:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: Cell color in pivot based on Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Cell-color-in-pivot-based-on-Dimensions/m-p/934695#M322796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume that you have some color expression where you use field references for &lt;STRONG&gt;&lt;EM&gt;dimension1&lt;/EM&gt;&lt;/STRONG&gt; and &lt;STRONG&gt;&lt;EM&gt;dimension2&lt;/EM&gt;&lt;/STRONG&gt; to determine the color. Then you may need to use &lt;EM&gt;&lt;STRONG&gt;Only({1} dimension1)&lt;/STRONG&gt;&lt;/EM&gt; and &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;&lt;STRONG&gt;Only({1} dimension2)&lt;/STRONG&gt;&lt;/EM&gt; instead.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;HIC &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2015 17:12:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cell-color-in-pivot-based-on-Dimensions/m-p/934695#M322796</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-10-22T17:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Cell color in pivot based on Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Cell-color-in-pivot-based-on-Dimensions/m-p/934696#M322797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Henric for the help. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Oct 2015 13:43:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cell-color-in-pivot-based-on-Dimensions/m-p/934696#M322797</guid>
      <dc:creator />
      <dc:date>2015-10-24T13:43:01Z</dc:date>
    </item>
  </channel>
</rss>

