<?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: Display background color in Pivot table on selecting a year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225277#M867185</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you provide sample to work on it same as you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Dec 2016 01:15:48 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2016-12-08T01:15:48Z</dc:date>
    <item>
      <title>Display background color in Pivot table on selecting a year</title>
      <link>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225276#M867184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using pivot table to display the data.&amp;nbsp; There are three years &lt;SPAN style="font-size: 13.3333px;"&gt;2016 (current year),&lt;SPAN style="font-size: 13.3333px;"&gt;2015(Year-1),&lt;/SPAN&gt;&lt;/SPAN&gt;2014,(year-2) in the application. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;When i select 2016, I have to display 2016,2015,2014&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2015 -&amp;nbsp; 2015,2014&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2014 - 2014&lt;/P&gt;&lt;P&gt;I use a condition in the background color in each expression and in the dimension - year field.&amp;nbsp; When i select 2016, the background color for columns corresponding to 2014 and 2015 disappears. When i select 2015, the background color in 2014 disappears.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to show the color always when i select the year. 2016&amp;nbsp; - max(year), 2015 - max(year)-1, 2014 - max(year)-2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before selecting the year&lt;/P&gt;&lt;P&gt;&lt;IMG alt="before.png" class="jive-image image-1" height="189" src="https://community.qlik.com/legacyfs/online/145950_before.png" style="height: 189px; width: 335.638px;" width="336" /&gt;&lt;/P&gt;&lt;P&gt;After selecting the year 2016&lt;/P&gt;&lt;P&gt;&lt;IMG alt="after.png" class="jive-image image-2" height="173" src="https://community.qlik.com/legacyfs/online/145951_after.png" style="height: 173px; width: 307.335px;" width="307" /&gt;&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/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225276#M867184</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Display background color in Pivot table on selecting a year</title>
      <link>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225277#M867185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you provide sample to work on it same as you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 01:15:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225277#M867185</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-12-08T01:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: Display background color in Pivot table on selecting a year</title>
      <link>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225278#M867186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here is my code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In expression _ background color&amp;nbsp; -&amp;nbsp; =if(year=(max(year)-2), $(v_Color.year_2),if(Année=(max(year)-1) $(v_Color.year_1) ,if(Année=max(year),$(v_Color.current_year))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should i create one expression for each year and write the color directly in background property?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 01:29:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225278#M867186</guid>
      <dc:creator />
      <dc:date>2016-12-08T01:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Display background color in Pivot table on selecting a year</title>
      <link>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225279#M867187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are the Year and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Année&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be this for your expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume, You have the variable with &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;v_Color&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;=if(year=(max(year)-2), $(v_Color),if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;year&lt;/STRONG&gt;&lt;/SPAN&gt;=(max(year)-1), $(v_Color) ,if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;year&lt;/STRONG&gt;&lt;/SPAN&gt;=max(year),$(v_Color))))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;OR&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;If(GetFieldSelections(year) = Max(year), $(v_Color))&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of that i worked same for you check this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Script:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Year, Sales&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2014, 10&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2014, 20&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2014, 30&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2015, 10&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2015, 15&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2016, 30&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2016, 40&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I've create one Straight table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim -- &lt;STRONG&gt;Year&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Expression ---&amp;nbsp; &lt;STRONG&gt;Sum({&amp;lt;Year = {"$(='&amp;lt;=' &amp;amp; Max(Year))"}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;For that Expression, I've used this Back Ground color&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(GetFieldSelections(Year) = Max(Year), Red())&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; text-decoration: underline;"&gt;For that Expression, I've used this Text color&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(GetFieldSelections(Year) = Max(Year), White())&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Images are looking this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For 2014 --&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="145968" alt="2014.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/145968_2014.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;For 2015 --&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="145969" alt="2015.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/145969_2015.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;For 2016 --&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="145973" alt="2016.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/145973_2016.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 01:44:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225279#M867187</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-12-08T01:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Display background color in Pivot table on selecting a year</title>
      <link>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225280#M867188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Anil. Year and Annee are same.&amp;nbsp; When you select 2016 in your straight table, I want to see background color for 2015 and 2014. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you select 2015, background color should be displayed for 2014 also.&amp;nbsp; The target is when you select a year, display the background color.&amp;nbsp; In my application, the color disappears because its not dynamique. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my application, I use two expression.&amp;nbsp; One for year 2016(have only Q1 data) and second expression for 2015(annual) and 2014(annual).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(year=$(=max(year)), num( (count(distinct {&amp;lt;Month={'march'},quarter={'q1'},year={$(=max(year))},"year-month"=,[Contrat - Type Code]-={'ST'},EndofMonth={1},[Period]={'quarter'}&amp;gt;} Matricule)), &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; num( (count(distinct {&amp;lt;Month={'dec.'},year={"&amp;gt;=$(=max(year)-2)&amp;lt;=$(=max(year)-1)"},"year-month"=,EndofMonth={1},[Contrat - Type Code]-={'ST'},[Period]={'Annual'}&amp;gt;}Matricule)) ,'# ##0',',',' ')&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i select 2015, no background color for 2014. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2015.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/145982_2015.png" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 06:20:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225280#M867188</guid>
      <dc:creator />
      <dc:date>2016-12-08T06:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Display background color in Pivot table on selecting a year</title>
      <link>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225281#M867189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;For 2016 Only --&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/145990_Capture.PNG" style="height: auto;" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;For 2015 Only --&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;IMG alt="Capture1.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/145991_Capture1.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 06:29:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225281#M867189</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-12-08T06:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: Display background color in Pivot table on selecting a year</title>
      <link>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225282#M867190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ajay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can u share ur QVW so will be easy for us to implement this &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 06:32:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225282#M867190</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-08T06:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Display background color in Pivot table on selecting a year</title>
      <link>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225283#M867191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@anil: yes like this,&amp;nbsp; but different color for each year and selected year. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@pooja :&amp;nbsp; size of my app( qvw) is 137mb.&amp;nbsp; I will create a separate QVW with inlines and I will share it. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 06:38:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225283#M867191</guid>
      <dc:creator />
      <dc:date>2016-12-08T06:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Display background color in Pivot table on selecting a year</title>
      <link>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225284#M867192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you like this, If so i will explain you clearly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For 2016 Only --&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/145988_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;For 2015 Only --&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;IMG alt="Capture1.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/145989_Capture1.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 06:44:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225284#M867192</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-12-08T06:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: Display background color in Pivot table on selecting a year</title>
      <link>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225285#M867193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its good. can you use these colors?&amp;nbsp; show current year(ie 2016) -rgb(248,237,236),&lt;/P&gt;&lt;P&gt;(year-1)&amp;nbsp; - rgb(226,242,246), (year-2)&amp;nbsp; - rgb(240,238,228)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And use the same color in the dimension - year also.&lt;/P&gt;&lt;P&gt;can you explain me what you did?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 06:57:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225285#M867193</guid>
      <dc:creator />
      <dc:date>2016-12-08T06:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Display background color in Pivot table on selecting a year</title>
      <link>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225286#M867194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;anil can you explain your expressions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 08:21:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225286#M867194</guid>
      <dc:creator />
      <dc:date>2016-12-08T08:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Display background color in Pivot table on selecting a year</title>
      <link>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225287#M867195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@pooja:&amp;nbsp; i have attached the qvw.&amp;nbsp; can you please check it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 08:42:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225287#M867195</guid>
      <dc:creator />
      <dc:date>2016-12-08T08:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Display background color in Pivot table on selecting a year</title>
      <link>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225288#M867196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Sorry&lt;/STRONG&gt; &lt;STRONG&gt;for&lt;/STRONG&gt; &lt;STRONG&gt;delay&lt;/STRONG&gt;, I am doing some other work. I've gone thru your application.Can you check this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Dimensions are&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Month&lt;/STRONG&gt; &amp;amp; &lt;STRONG&gt;Year&lt;/STRONG&gt; as usual&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Expression is&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;Sum({&amp;lt;year = {"$(='&amp;lt;=' &amp;amp; Max(year))"}&amp;gt;}value)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;BG for Expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Sum({&amp;lt;year = {"$(=Max(year))"}&amp;gt;}value),RGB(248,237,236),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Sum({&amp;lt;year = {"$(=Max(year)-1)"}&amp;gt;}value),RGB(226,242,246),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Sum({&amp;lt;year = {"$(=Max(year)-2)"}&amp;gt;}value),RGB(240,238,228))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2016 Images seems this&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/146001_Capture1.PNG" style="height: 250px; width: 620px;" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;2015 Images seems this&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/146002_Capture.PNG" style="height: 220px; width: 620px;" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;And, finally Enclosed attached&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 09:28:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225288#M867196</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-12-08T09:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Display background color in Pivot table on selecting a year</title>
      <link>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225289#M867197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Anil.&amp;nbsp; I am going to check it and I will tell you. For columns with zero values, we can use isnull(sum(...)), rgb()?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 10:31:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225289#M867197</guid>
      <dc:creator />
      <dc:date>2016-12-08T10:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Display background color in Pivot table on selecting a year</title>
      <link>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225290#M867198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;its not working.&amp;nbsp; You changed the expression.&amp;nbsp; there is no annual data for 2016(only Q1),&amp;nbsp; Annual(2014&amp;nbsp; and 2015).&amp;nbsp; I am not using three expressions for each year. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;My expression is &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=if(year=$(= max(year)), sum({&amp;lt;quarter={'q1'},&amp;nbsp;&amp;nbsp; year={"$(=max(Année))"}&amp;gt;}&amp;nbsp;&amp;nbsp; value), sum({&amp;lt;year={"&amp;gt;=$(=max(year)-2)&amp;lt;=$(=max(year)-1)"}&amp;gt;}value))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I used quarter field for 2016.&amp;nbsp; How to use the above expression in background color?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I tried different possibilities, nothing is working. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 14:25:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225290#M867198</guid>
      <dc:creator />
      <dc:date>2016-12-08T14:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: Display background color in Pivot table on selecting a year</title>
      <link>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225291#M867199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NP, We will help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your data model there is no Quarter field, Would you share latest Application to work on it same&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/146300_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Dec 2016 02:44:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225291#M867199</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-12-11T02:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: Display background color in Pivot table on selecting a year</title>
      <link>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225292#M867200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check the attached qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Dec 2016 10:47:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225292#M867200</guid>
      <dc:creator />
      <dc:date>2016-12-11T10:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Display background color in Pivot table on selecting a year</title>
      <link>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225293#M867201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am out of thoughts, Meantime i recommend them to help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌ &lt;A href="https://community.qlik.com/qlik-users/96544"&gt;gwassenaar&lt;/A&gt;‌ &lt;A _jive_internal="true" data-avatarid="7439" data-userid="61824" data-username="marcowedel" href="https://community.qlik.com/people/marcowedel" style="font-family: inherit; font-style: inherit; font-weight: bold; font-size: 10pt; color: #3778c7;"&gt;Marco Wedel&amp;nbsp; &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And Others also can help{ Gain is no limit &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ajay - You may put Mark as helpful from Actions. Then, Others can link those quickly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Dec 2016 13:07:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225293#M867201</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-12-11T13:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: Display background color in Pivot table on selecting a year</title>
      <link>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225294#M867202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this what you want?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When 2016 is selected&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/146303_Capture.PNG" style="height: 206px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When 2015 is selected&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/146304_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Background expression I used is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if(Only({&amp;lt;year&amp;gt;} year)=(max(TOTAL {&amp;lt;year&amp;gt;} year)-2), blue(),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; if(Only({&amp;lt;year&amp;gt;} year)=(max(TOTAL {&amp;lt;year&amp;gt;} year)-1), Green(),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; if(Only({&amp;lt;year&amp;gt;} year)=max(TOTAL {&amp;lt;year&amp;gt;} year), red())))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Dec 2016 13:25:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225294#M867202</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-11T13:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Display background color in Pivot table on selecting a year</title>
      <link>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225295#M867203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;@sunnyT : Thank you so much.&amp;nbsp; its working now. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Dec 2016 16:48:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-background-color-in-Pivot-table-on-selecting-a-year/m-p/1225295#M867203</guid>
      <dc:creator />
      <dc:date>2016-12-11T16:48:11Z</dc:date>
    </item>
  </channel>
</rss>

