<?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: Problem with AGGR function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-AGGR-function/m-p/1352680#M515018</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you Andrey and Tim,&lt;/P&gt;&lt;P&gt;but i only want to see cost center in the pivot table dimension and the calculation for only three lines witch gives 225.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="aggr..PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/172502_aggr..PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Aug 2017 10:58:05 GMT</pubDate>
    <dc:creator>doespirito</dc:creator>
    <dc:date>2017-08-04T10:58:05Z</dc:date>
    <item>
      <title>Problem with AGGR function</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-AGGR-function/m-p/1352677#M515015</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;I have a problem with aggr function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(see attached qvw.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two tables :&lt;/P&gt;&lt;P&gt;- one named PAIE with AMOUNT per COST_C/YEAR/MONTH/PERSO_ID/ACCOUNT &lt;/P&gt;&lt;P&gt;- one named TAX with with TAXE_RATE per&amp;nbsp; YEAR/MONTH/&lt;SPAN style="font-size: 13.3333px;"&gt;PERSO_ID&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have linked them in qlikview with a key (&lt;SPAN style="font-size: 13.3333px;"&gt;YEAR/MONTH/&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;PERSO_ID) so every line of PAIE table has the good tax rate from TAX table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Know, i want to make a pivot table aggregated on COST_C &lt;STRONG&gt;for only ACCOUNT=32007.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;In excel, the result would be :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;IMG alt="excel.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/172489_excel.PNG" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;witch is made like this :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="excel2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/172496_excel2.PNG" style="height: 84px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;I have tred to do that with set analysis and aggr function but it gives me a wrong result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you help me ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arnault&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Aug 2017 10:22:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-AGGR-function/m-p/1352677#M515015</guid>
      <dc:creator>doespirito</dc:creator>
      <dc:date>2017-08-04T10:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with AGGR function</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-AGGR-function/m-p/1352678#M515016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this Expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AMOUNT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) + &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AMOUNT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;*&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TAX_RATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;or See attended qvw&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;tim&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Aug 2017 10:34:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-AGGR-function/m-p/1352678#M515016</guid>
      <dc:creator>zhadrakas</dc:creator>
      <dc:date>2017-08-04T10:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with AGGR function</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-AGGR-function/m-p/1352679#M515017</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;May be like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum ({&amp;lt;ACCOUNT={'32007'}&amp;gt;}TAX_RATE)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Result&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/172498_1.jpg" style="height: 88px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example at attached file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andrey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Aug 2017 10:40:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-AGGR-function/m-p/1352679#M515017</guid>
      <dc:creator>ahaahaaha</dc:creator>
      <dc:date>2017-08-04T10:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with AGGR function</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-AGGR-function/m-p/1352680#M515018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you Andrey and Tim,&lt;/P&gt;&lt;P&gt;but i only want to see cost center in the pivot table dimension and the calculation for only three lines witch gives 225.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="aggr..PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/172502_aggr..PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Aug 2017 10:58:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-AGGR-function/m-p/1352680#M515018</guid>
      <dc:creator>doespirito</dc:creator>
      <dc:date>2017-08-04T10:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with AGGR function</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-AGGR-function/m-p/1352681#M515019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Remove other dimensions and Tim's solution seems to be working the way you would want&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/172509_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Aug 2017 11:20:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-AGGR-function/m-p/1352681#M515019</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-04T11:20:43Z</dc:date>
    </item>
  </channel>
</rss>

