<?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 Aggragate problem on pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggragate-problem-on-pivot-table/m-p/151442#M29276</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;thanks! I have tried so many times that I don't know why I didn't get it!&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Oct 2010 15:44:18 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-10-21T15:44:18Z</dc:date>
    <item>
      <title>Aggragate problem on pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Aggragate-problem-on-pivot-table/m-p/151440#M29274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="background-color: #ffffff; margin: 8px; font-family: Arial, Helvetica, sans-serif; color: #000000; font-size: 12px; background-origin: initial; background-clip: initial;"&gt;&lt;P&gt;Hi to all,&lt;/P&gt;&lt;P&gt;i have a problem on aggregate function. In the attached file a small example. The column NOE I have the values of CoGe that in 2009 have sales = 0.&lt;/P&gt;&lt;P&gt;The if clause, of course, don't work in the total. I tried in different way but without getting it to work.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Oct 2010 15:56:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggragate-problem-on-pivot-table/m-p/151440#M29274</guid>
      <dc:creator />
      <dc:date>2010-10-20T15:56:36Z</dc:date>
    </item>
    <item>
      <title>Aggragate problem on pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Aggragate-problem-on-pivot-table/m-p/151441#M29275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this?&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;sum(aggr(if(sum({&amp;lt;Anno={2009}&amp;gt;} FatNetto),0,sum({&amp;lt;Anno={2010}&amp;gt;} FatNetto)),CodCliRif,CoGe,Mese))&lt;/P&gt;&lt;P&gt;The general form is this:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;sum(aggr( your current expression ,dimension1,dimension2,etc.))&lt;/P&gt;&lt;P&gt;However, it doesn't appear to be able to reference the columns, probably because the aggr() doesn't realize you're specifying the exact same set of columns as the pivot table specifies. That's why I replaced column references with recalculations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Oct 2010 19:46:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggragate-problem-on-pivot-table/m-p/151441#M29275</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-10-20T19:46:41Z</dc:date>
    </item>
    <item>
      <title>Aggragate problem on pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Aggragate-problem-on-pivot-table/m-p/151442#M29276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;thanks! I have tried so many times that I don't know why I didn't get it!&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Oct 2010 15:44:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggragate-problem-on-pivot-table/m-p/151442#M29276</guid>
      <dc:creator />
      <dc:date>2010-10-21T15:44:18Z</dc:date>
    </item>
  </channel>
</rss>

