<?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 Conditional color for totals in Pivot Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-color-for-totals-in-Pivot-Table/m-p/1131852#M519958</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Qlik Comnunity,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a question how to conditionally set the color of the totals in a Pivot table. I want to highlight the columns depending if the value is bigger or smaller than last years value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to access the Column using columnno()=0, and checking the year. But now i am stuck comparing the values for the years.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="community.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/133639_community.png" style="height: 99px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;I attached a sample file....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help?&lt;/P&gt;&lt;P&gt;Regards from Germany, &lt;BR /&gt;Fabian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Aug 2016 14:04:21 GMT</pubDate>
    <dc:creator>fheidenstecker</dc:creator>
    <dc:date>2016-08-04T14:04:21Z</dc:date>
    <item>
      <title>Conditional color for totals in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-color-for-totals-in-Pivot-Table/m-p/1131852#M519958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Qlik Comnunity,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a question how to conditionally set the color of the totals in a Pivot table. I want to highlight the columns depending if the value is bigger or smaller than last years value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to access the Column using columnno()=0, and checking the year. But now i am stuck comparing the values for the years.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="community.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/133639_community.png" style="height: 99px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;I attached a sample file....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help?&lt;/P&gt;&lt;P&gt;Regards from Germany, &lt;BR /&gt;Fabian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 14:04:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-color-for-totals-in-Pivot-Table/m-p/1131852#M519958</guid>
      <dc:creator>fheidenstecker</dc:creator>
      <dc:date>2016-08-04T14:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional color for totals in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-color-for-totals-in-Pivot-Table/m-p/1131853#M519959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/133653_Capture.PNG" style="height: 82px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(ColumnNo()=0,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Year=max(total Year),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Sum(Sales) &amp;gt; Sum(Aggr(Above(Sum(Sales)),Customer, Year)), Green(), Red())))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 14:23:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-color-for-totals-in-Pivot-Table/m-p/1131853#M519959</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-04T14:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional color for totals in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-color-for-totals-in-Pivot-Table/m-p/1131854#M519960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= &lt;/P&gt;&lt;P&gt;= IF(ColumnNo() = 0,&lt;/P&gt;&lt;P&gt;IF(Year = Max(Total Year), &lt;/P&gt;&lt;P&gt;IF( Sum( Total &amp;lt;Customer, Group&amp;gt; {&amp;lt; Year={ $(=max(Year))}&amp;gt;}Sales) &amp;gt; Sum(Total &amp;lt;Customer, Group&amp;gt; {&amp;lt; Year = {$(=Max(Year)-1)} &amp;gt;} Sales), Green(), Red())&lt;/P&gt;&lt;P&gt;))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 20:13:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-color-for-totals-in-Pivot-Table/m-p/1131854#M519960</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2016-08-04T20:13:04Z</dc:date>
    </item>
  </channel>
</rss>

