<?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: Pivot table calculations in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-table-calculations/m-p/358581#M574536</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;If the Year is a pivoted dimension, then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Before(Column(1)) &amp;gt; Column(1), red(), green())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its possible that Column(1) wont work, then use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Before(&lt;EM&gt;expr&lt;/EM&gt;) &amp;gt; &lt;EM&gt;expr&lt;/EM&gt;, red(), green())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where expr is the chart expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jul 2012 14:20:21 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2012-07-19T14:20:21Z</dc:date>
    <item>
      <title>Pivot table calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-calculations/m-p/358577#M574532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to change the color of cells in the pivot table below (example) if the value exceeds the value of the previous year. &lt;/P&gt;&lt;P&gt;I tried the use of aggr, above, column etc, but I can not find the right formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help with this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 431px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="71"&gt; &lt;/TD&gt;&lt;TD class="xl63" width="75"&gt; &lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none;" width="53"&gt;Year&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none;" width="51"&gt;2009&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none;" width="59"&gt;2009&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none;" width="51"&gt;2010&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none;" width="71"&gt;2010&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: medium none;"&gt;Category&lt;/TD&gt;&lt;TD class="xl66" style="border-top: medium none; border-left: medium none;"&gt;Color&lt;/TD&gt;&lt;TD class="xl67" style="border-top: medium none;"&gt;Label&lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;excl&lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;incl&lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;excl&lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;incl&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: medium none;"&gt;bike&lt;/TD&gt;&lt;TD class="xl68" style="border-top: medium none; border-left: medium none;"&gt;blue&lt;/TD&gt;&lt;TD class="xl69"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;12&lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;15&lt;/TD&gt;&lt;TD class="xl70" style="border-top: medium none; border-left: medium none;"&gt;13&lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;16&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: medium none;"&gt;bike&lt;/TD&gt;&lt;TD class="xl68" style="border-top: medium none; border-left: medium none;"&gt;orange&lt;/TD&gt;&lt;TD class="xl69" style="border-top: medium none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;14&lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;17&lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;14&lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: medium none;"&gt;bike&lt;/TD&gt;&lt;TD class="xl68" style="border-top: medium none; border-left: medium none;"&gt;red&lt;/TD&gt;&lt;TD class="xl69" style="border-top: medium none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;13&lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;16&lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;13&lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;16&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: medium none;"&gt;car&lt;/TD&gt;&lt;TD class="xl68" style="border-top: medium none; border-left: medium none;"&gt;blue&lt;/TD&gt;&lt;TD class="xl69" style="border-top: medium none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;45&lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;50&lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;50&lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;55&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: medium none;"&gt;car&lt;/TD&gt;&lt;TD class="xl68" style="border-top: medium none; border-left: medium none;"&gt;orange&lt;/TD&gt;&lt;TD class="xl69" style="border-top: medium none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;30&lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;35&lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;32&lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;35&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: medium none;"&gt;car&lt;/TD&gt;&lt;TD class="xl68" style="border-top: medium none; border-left: medium none;"&gt;red&lt;/TD&gt;&lt;TD class="xl69" style="border-top: medium none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;50&lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;55&lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;50&lt;/TD&gt;&lt;TD class="xl65" style="border-top: medium none; border-left: medium none;"&gt;55&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards, Meike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 13:04:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-calculations/m-p/358577#M574532</guid>
      <dc:creator />
      <dc:date>2012-07-19T13:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-calculations/m-p/358578#M574533</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In expression, Click '+' sign , in background color use like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =if(Column(1) - Column(3) &amp;gt; 0, blue(), Green())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =if(Column(1) - Column(2) &amp;gt; 0, blue(), Green())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i'm not sure of that column number, how many expression you're using. and what are the dimension?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Can you say in detail, or sample post?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 13:21:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-calculations/m-p/358578#M574533</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-07-19T13:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-calculations/m-p/358579#M574534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Herby I added the example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont think formula will work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 13:30:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-calculations/m-p/358579#M574534</guid>
      <dc:creator />
      <dc:date>2012-07-19T13:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-calculations/m-p/358580#M574535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with this expression(as Background color expression)&lt;/P&gt;&lt;P&gt;=If(Before(TOTAL Sum(Costs), 2) &amp;lt; Sum(Costs),RGB(255,0,0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 14:05:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-calculations/m-p/358580#M574535</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-07-19T14:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-calculations/m-p/358581#M574536</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;If the Year is a pivoted dimension, then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Before(Column(1)) &amp;gt; Column(1), red(), green())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its possible that Column(1) wont work, then use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Before(&lt;EM&gt;expr&lt;/EM&gt;) &amp;gt; &lt;EM&gt;expr&lt;/EM&gt;, red(), green())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where expr is the chart expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 14:20:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-calculations/m-p/358581#M574536</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-07-19T14:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-calculations/m-p/358582#M574537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks it work!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 14:24:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-calculations/m-p/358582#M574537</guid>
      <dc:creator />
      <dc:date>2012-07-19T14:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-calculations/m-p/358583#M574538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can someone tell me if a PivotTable is possible make calculations per row? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg:&lt;/P&gt;&lt;P&gt;row 1: sum(F1)&lt;/P&gt;&lt;P&gt;row 2: max(F1)&lt;/P&gt;&lt;P&gt;row 3: avg(F1)&lt;/P&gt;&lt;P&gt;row 4: Sum(row 1 + row 2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 13:40:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-calculations/m-p/358583#M574538</guid>
      <dc:creator />
      <dc:date>2012-11-27T13:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-calculations/m-p/358584#M574539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ya you can do it&lt;/P&gt;&lt;P&gt;with RowNo() function&lt;/P&gt;&lt;P&gt;Pick(RowNo(), Sum(F1),Max(F1),Avg(F1),RangeSum(Sum(F1),Max(F1)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 13:52:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-calculations/m-p/358584#M574539</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-11-27T13:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-calculations/m-p/358585#M574540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But if I select a row in the pivot table it shows me always the first row value.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="26938" class="jive-image-thumbnail jive-image" onclick="" alt="tt.png" src="https://community.qlik.com/legacyfs/online/26938_tt.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="26939" class="jive-image-thumbnail jive-image" onclick="" alt="ttt.png" src="https://community.qlik.com/legacyfs/online/26939_ttt.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2012 13:49:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-calculations/m-p/358585#M574540</guid>
      <dc:creator />
      <dc:date>2012-12-17T13:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-calculations/m-p/358586#M574541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you found a way to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example: Pick (RowNumber, Sum (Sales), Avg (Sales), Max (Sales), Min (Sales), sum (Sales)-Min (Sales))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2012 13:52:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-calculations/m-p/358586#M574541</guid>
      <dc:creator />
      <dc:date>2012-12-17T13:52:44Z</dc:date>
    </item>
  </channel>
</rss>

