<?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 Background color for dimension headers in pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Background-color-for-dimension-headers-in-pivot-table/m-p/1027194#M927097</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 following dimension table:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/120032_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;I make a &lt;STRONG&gt;straight table&lt;/STRONG&gt; with &lt;/P&gt;&lt;P&gt;dimensions &lt;SPAN style="font-family: courier new,courier;"&gt;Month&lt;/SPAN&gt; and &lt;SPAN style="font-family: courier new,courier;"&gt;Team&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/120033_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;expression &lt;SPAN style="font-family: courier new,courier;"&gt;Total&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/120034_pastedImage_5.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;The variables &lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;vFromDate&lt;/SPAN&gt; and &lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;vTillDate&lt;/SPAN&gt; e.g. are set using sliders.&lt;/P&gt;&lt;P&gt;The background color of the dimensions and the expression are set to &lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;RGB(180, 255, 255)&lt;/SPAN&gt; if the sum is equal or greater than the value in the variable &lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;vMaxSumAmount&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;, set to the value 250000.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-4" src="https://community.qlik.com/legacyfs/online/120035_pastedImage_12.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;The result:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-5 jive-image" height="657" src="https://community.qlik.com/legacyfs/online/120036_pastedImage_16.png" style="width: 252.024px; height: 657px;" width="252" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the same dimensions and expression and expressions for the background colors, I made a &lt;STRONG&gt;pivot table&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;But the back ground colors are set for the dimensions &lt;SPAN style="font-family: courier new,courier;"&gt;Team&lt;/SPAN&gt; and &lt;SPAN style="font-family: courier new,courier;"&gt;Month&lt;/SPAN&gt; only when the condition is valid on the &lt;SPAN style="text-decoration: underline;"&gt;first row&lt;/SPAN&gt; or on the &lt;SPAN style="text-decoration: underline;"&gt;first column&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-6" src="https://community.qlik.com/legacyfs/online/120037_pastedImage_24.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;How do I need to change the expression for the background colors for the dimensions &lt;SPAN style="font-family: courier new,courier;"&gt;Team &lt;/SPAN&gt;and &lt;SPAN style="font-family: courier new,courier;"&gt;Month&lt;/SPAN&gt; to get the following result instead?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-7" src="https://community.qlik.com/legacyfs/online/120040_pastedImage_27.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Maybe by using &lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;Aggr()&lt;/STRONG&gt;&lt;/SPAN&gt; function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see example in attachment.&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;R.W.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>rudywelvaert</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Background color for dimension headers in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Background-color-for-dimension-headers-in-pivot-table/m-p/1027194#M927097</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 following dimension table:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/120032_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;I make a &lt;STRONG&gt;straight table&lt;/STRONG&gt; with &lt;/P&gt;&lt;P&gt;dimensions &lt;SPAN style="font-family: courier new,courier;"&gt;Month&lt;/SPAN&gt; and &lt;SPAN style="font-family: courier new,courier;"&gt;Team&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/120033_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;expression &lt;SPAN style="font-family: courier new,courier;"&gt;Total&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/120034_pastedImage_5.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;The variables &lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;vFromDate&lt;/SPAN&gt; and &lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;vTillDate&lt;/SPAN&gt; e.g. are set using sliders.&lt;/P&gt;&lt;P&gt;The background color of the dimensions and the expression are set to &lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;RGB(180, 255, 255)&lt;/SPAN&gt; if the sum is equal or greater than the value in the variable &lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;vMaxSumAmount&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;, set to the value 250000.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-4" src="https://community.qlik.com/legacyfs/online/120035_pastedImage_12.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;The result:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-5 jive-image" height="657" src="https://community.qlik.com/legacyfs/online/120036_pastedImage_16.png" style="width: 252.024px; height: 657px;" width="252" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the same dimensions and expression and expressions for the background colors, I made a &lt;STRONG&gt;pivot table&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;But the back ground colors are set for the dimensions &lt;SPAN style="font-family: courier new,courier;"&gt;Team&lt;/SPAN&gt; and &lt;SPAN style="font-family: courier new,courier;"&gt;Month&lt;/SPAN&gt; only when the condition is valid on the &lt;SPAN style="text-decoration: underline;"&gt;first row&lt;/SPAN&gt; or on the &lt;SPAN style="text-decoration: underline;"&gt;first column&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-6" src="https://community.qlik.com/legacyfs/online/120037_pastedImage_24.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;How do I need to change the expression for the background colors for the dimensions &lt;SPAN style="font-family: courier new,courier;"&gt;Team &lt;/SPAN&gt;and &lt;SPAN style="font-family: courier new,courier;"&gt;Month&lt;/SPAN&gt; to get the following result instead?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-7" src="https://community.qlik.com/legacyfs/online/120040_pastedImage_27.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Maybe by using &lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;Aggr()&lt;/STRONG&gt;&lt;/SPAN&gt; function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see example in attachment.&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;R.W.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-color-for-dimension-headers-in-pivot-table/m-p/1027194#M927097</guid>
      <dc:creator>rudywelvaert</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Background color for dimension headers in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Background-color-for-dimension-headers-in-pivot-table/m-p/1027195#M927099</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;The problem might be around Date formating.&lt;/P&gt;&lt;P&gt;Your variable vFrom is formatted different&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check all your date formating&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 17:27:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-color-for-dimension-headers-in-pivot-table/m-p/1027195#M927099</guid>
      <dc:creator>Gabriel</dc:creator>
      <dc:date>2016-03-31T17:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: Background color for dimension headers in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Background-color-for-dimension-headers-in-pivot-table/m-p/1027196#M927101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try the attachment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/120081_1.png" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 18:52:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-color-for-dimension-headers-in-pivot-table/m-p/1027196#M927101</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-03-31T18:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Background color for dimension headers in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Background-color-for-dimension-headers-in-pivot-table/m-p/1027197#M927103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks maxgro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seems to work, but&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/120369_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happens there in relationship with the Aggr() and Max() functions?&lt;/P&gt;&lt;P&gt;Does it take the Max() over the temporary table generated by the Aggr() function for every TEAM?&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;R.W.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 07:52:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-color-for-dimension-headers-in-pivot-table/m-p/1027197#M927103</guid>
      <dc:creator>rudywelvaert</dc:creator>
      <dc:date>2016-04-04T07:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Background color for dimension headers in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Background-color-for-dimension-headers-in-pivot-table/m-p/1027198#M927105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gabriel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think so, otherwise the function wouldn't work for the back color of the individual values either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R.W.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 07:53:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-color-for-dimension-headers-in-pivot-table/m-p/1027198#M927105</guid>
      <dc:creator>rudywelvaert</dc:creator>
      <dc:date>2016-04-04T07:53:44Z</dc:date>
    </item>
  </channel>
</rss>

