<?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: Strange issue when using mod to control the dimension background color in Pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Strange-issue-when-using-mod-to-control-the-dimension-background/m-p/1061925#M355353</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you disabled surpress NULL within the tab presentation it will work. The reason for not showing the coloring within the horizontally dimensions are that all values within first row return NULL for these dimension. Unfortunately there are depencies between the cell-values and the coloring and not only within expressions else between expression and dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As alternatively you could try to return always a none NULL value like with the columnno() or something else. But these could be difficult and also have side-effects like the surpressing NULL options. Quite useful is it often to replace (all) NULL's within the datamodel with real values like 'NULL', 'EMPTY', 'MISSING', '#NV' or similar which has also further advantages, for example that these values are now selectable. For this have a look here: &lt;A href="https://community.qlik.com/docs/DOC-3155"&gt;NULL handling in QlikView&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Apr 2016 07:37:19 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2016-04-20T07:37:19Z</dc:date>
    <item>
      <title>Strange issue when using mod to control the dimension background color in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Strange-issue-when-using-mod-to-control-the-dimension-background/m-p/1061923#M355351</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;&lt;/P&gt;&lt;P&gt;I meet a strange issue with the background color in Pivot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have data and table :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="122116" alt="Strange color1.JPG" class="jive-image image-1" src="/legacyfs/online/122116_Strange color1.JPG" style="width: 620px; height: 257px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this pivot table, I have 2 dimensions : Country and City, and I move the City to the top&lt;/P&gt;&lt;P&gt;and I also add&amp;nbsp;&amp;nbsp;&amp;nbsp; =if(Mod(ColumnNo(),2)=1,Yellow(),LightGray())&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; to the dimension - City - Background&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it didn't show what I want, I don't know why, and I try to add a new expression(=columnno()), then it shows what I want :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="122120" alt="Strange color2.JPG" class="jive-image image-2" src="/legacyfs/online/122120_Strange color2.JPG" style="width: 620px; height: 267px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it a bug? I don't know why and I just want to know how to fix that.(Well, I don't want the columnno() expression actually)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aiolos Zhao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 05:57:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Strange-issue-when-using-mod-to-control-the-dimension-background/m-p/1061923#M355351</guid>
      <dc:creator>uacg0009</dc:creator>
      <dc:date>2016-04-20T05:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: Strange issue when using mod to control the dimension background color in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Strange-issue-when-using-mod-to-control-the-dimension-background/m-p/1061924#M355352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone can help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 07:21:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Strange-issue-when-using-mod-to-control-the-dimension-background/m-p/1061924#M355352</guid>
      <dc:creator>uacg0009</dc:creator>
      <dc:date>2016-04-20T07:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: Strange issue when using mod to control the dimension background color in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Strange-issue-when-using-mod-to-control-the-dimension-background/m-p/1061925#M355353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you disabled surpress NULL within the tab presentation it will work. The reason for not showing the coloring within the horizontally dimensions are that all values within first row return NULL for these dimension. Unfortunately there are depencies between the cell-values and the coloring and not only within expressions else between expression and dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As alternatively you could try to return always a none NULL value like with the columnno() or something else. But these could be difficult and also have side-effects like the surpressing NULL options. Quite useful is it often to replace (all) NULL's within the datamodel with real values like 'NULL', 'EMPTY', 'MISSING', '#NV' or similar which has also further advantages, for example that these values are now selectable. For this have a look here: &lt;A href="https://community.qlik.com/docs/DOC-3155"&gt;NULL handling in QlikView&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 07:37:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Strange-issue-when-using-mod-to-control-the-dimension-background/m-p/1061925#M355353</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-04-20T07:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Strange issue when using mod to control the dimension background color in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Strange-issue-when-using-mod-to-control-the-dimension-background/m-p/1061926#M355354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for your reply, now I know the reason why the color shows wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I didn't find the suppress NULL in presentation tab, I only know the suppress When Value is NULL in dimension tab, but it didn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please tell me how to solve that at the front-end? Because the real data is too big, I don't want to change the datamodel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aiolos Zhao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 08:08:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Strange-issue-when-using-mod-to-control-the-dimension-background/m-p/1061926#M355354</guid>
      <dc:creator>uacg0009</dc:creator>
      <dc:date>2016-04-20T08:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: Strange issue when using mod to control the dimension background color in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Strange-issue-when-using-mod-to-control-the-dimension-background/m-p/1061927#M355355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's in the bottom left area:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/122129_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 08:17:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Strange-issue-when-using-mod-to-control-the-dimension-background/m-p/1061927#M355355</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-04-20T08:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Strange issue when using mod to control the dimension background color in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Strange-issue-when-using-mod-to-control-the-dimension-background/m-p/1061928#M355356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems to work as pointed out by Marcus&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/122130_Capture.PNG" style="height: 230px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 08:22:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Strange-issue-when-using-mod-to-control-the-dimension-background/m-p/1061928#M355356</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-20T08:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Strange issue when using mod to control the dimension background color in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Strange-issue-when-using-mod-to-control-the-dimension-background/m-p/1061929#M355357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh, Suppress the Zero Value, thank you so much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aiolos Zhao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 08:24:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Strange-issue-when-using-mod-to-control-the-dimension-background/m-p/1061929#M355357</guid>
      <dc:creator>uacg0009</dc:creator>
      <dc:date>2016-04-20T08:24:53Z</dc:date>
    </item>
  </channel>
</rss>

