<?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: Background color for Pivot Table cells when cell value exceeds aggregate value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Background-color-for-Pivot-Table-cells-when-cell-value-exceeds/m-p/1747182#M506275</link>
    <description>&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;Thank you very much. The expression worked.&lt;/P&gt;</description>
    <pubDate>Fri, 25 Sep 2020 13:18:43 GMT</pubDate>
    <dc:creator>bvikramreddy89</dc:creator>
    <dc:date>2020-09-25T13:18:43Z</dc:date>
    <item>
      <title>Background color for Pivot Table cells when cell value exceeds aggregate value</title>
      <link>https://community.qlik.com/t5/QlikView/Background-color-for-Pivot-Table-cells-when-cell-value-exceeds/m-p/1745403#M506271</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Am trying a possibility for setting background color for pivot table cells when cell values greater than "avg + Std" and less than "avg - std" of individual days of month over that year i.e.&lt;/P&gt;&lt;P&gt;Cells of Jan 1st, Feb 1st ... Dec 1st shoud be compared with "Avg + Std and Avg-Std" of these 12 values. Similarly,&lt;BR /&gt;2nd of every month and 3rd of every month, so on till 31st for that year.&lt;/P&gt;&lt;P&gt;I have Days(Vertical) of month from 1 to 31 as one dimension and year-month(Horizontal) as other dimension. Have filled data cells.&lt;/P&gt;&lt;P&gt;Am using below but its not working:&lt;/P&gt;&lt;P&gt;if(value &amp;gt;vAvdStdPlus or&amp;nbsp; value&amp;lt;vAvgStdMinus, Lightred(), Green())&lt;/P&gt;&lt;P&gt;Where:&lt;BR /&gt;vAvdStdPlus = aggr(avg(value),Month_day, Year) + aggr(StDev(value),Month_day, Year)&lt;BR /&gt;vAvgStdMinus = aggr(avg(value),Month_day, Year) - aggr(StDev(value),Month_day, Year)&lt;/P&gt;&lt;P&gt;Am attching, table format in excel . Please help me with this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Sep 2020 13:15:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-color-for-Pivot-Table-cells-when-cell-value-exceeds/m-p/1745403#M506271</guid>
      <dc:creator>bvikramreddy89</dc:creator>
      <dc:date>2020-09-20T13:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Background color for Pivot Table cells when cell value exceeds aggregate value</title>
      <link>https://community.qlik.com/t5/QlikView/Background-color-for-Pivot-Table-cells-when-cell-value-exceeds/m-p/1745408#M506272</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/126314"&gt;@bvikramreddy89&lt;/a&gt;&amp;nbsp; try below expression&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;//change variable expressions as below (include "=" )
vAvdStdPlus 
= sum(aggr(avg(value),Month_day, Year)) + sum(aggr(StDev(value),Month_day, Year))

vAvgStdMinus 
= sum(aggr(avg(value),Month_day, Year)) - sum(aggr(StDev(value),Month_day, Year))

// Now you can try below expression in background color expression
if(sum(value) &amp;gt; $(vAvdStdPlus) or  sum(value)&amp;lt;$(vAvgStdMinus), Lightred(), Green())&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Sep 2020 14:52:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-color-for-Pivot-Table-cells-when-cell-value-exceeds/m-p/1745408#M506272</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-09-20T14:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Background color for Pivot Table cells when cell value exceeds aggregate value</title>
      <link>https://community.qlik.com/t5/QlikView/Background-color-for-Pivot-Table-cells-when-cell-value-exceeds/m-p/1745989#M506273</link>
      <description>&lt;P&gt;Hi Kush,&lt;BR /&gt;Thank you for the reply but i already have tried that and its not worked.&lt;BR /&gt;The expression is not applying to all the cells but only to few. Thats the main issue.&lt;/P&gt;&lt;P&gt;Does anyone worked out similar requirement. Can anyone suggest any other possibility.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 12:14:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-color-for-Pivot-Table-cells-when-cell-value-exceeds/m-p/1745989#M506273</guid>
      <dc:creator>bvikramreddy89</dc:creator>
      <dc:date>2020-09-22T12:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Background color for Pivot Table cells when cell value exceeds aggregate value</title>
      <link>https://community.qlik.com/t5/QlikView/Background-color-for-Pivot-Table-cells-when-cell-value-exceeds/m-p/1745995#M506274</link>
      <description>&lt;P&gt;How about you try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Avg(TOTAL &amp;lt;Month_day&amp;gt; value) + StDev(TOTAL &amp;lt;Month_day&amp;gt; value)
Avg(TOTAL &amp;lt;Month_day&amp;gt; value) - StDev(TOTAL &amp;lt;Month_day&amp;gt; value)&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 22 Sep 2020 12:24:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-color-for-Pivot-Table-cells-when-cell-value-exceeds/m-p/1745995#M506274</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-09-22T12:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Background color for Pivot Table cells when cell value exceeds aggregate value</title>
      <link>https://community.qlik.com/t5/QlikView/Background-color-for-Pivot-Table-cells-when-cell-value-exceeds/m-p/1747182#M506275</link>
      <description>&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;Thank you very much. The expression worked.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 13:18:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Background-color-for-Pivot-Table-cells-when-cell-value-exceeds/m-p/1747182#M506275</guid>
      <dc:creator>bvikramreddy89</dc:creator>
      <dc:date>2020-09-25T13:18:43Z</dc:date>
    </item>
  </channel>
</rss>

