<?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: Value Aggregation in Pivot Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Value-Aggregation-in-Pivot-Table/m-p/1648866#M730617</link>
    <description>&lt;P&gt;&lt;STRONG&gt;sum(Aggr(count(DISTINCT person_nr1),machine,day,shift))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Could this be a solution? Im not sure, since I do not understand what this formula is doing... Just copied it^^&lt;/P&gt;</description>
    <pubDate>Wed, 20 Nov 2019 07:15:31 GMT</pubDate>
    <dc:creator>HermGerm</dc:creator>
    <dc:date>2019-11-20T07:15:31Z</dc:date>
    <item>
      <title>Value Aggregation in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Value-Aggregation-in-Pivot-Table/m-p/1648863#M730616</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;im struggeling with a formula in Pivot table. I want to show how many persons worked with a specific machine.My Table basically looks kinda like this&lt;/P&gt;&lt;P&gt;machine&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;day&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; shift&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Persons&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;123&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;18.11.2019&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; F&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 5&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&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; 18.11.2019&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; S&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&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; 19.11.2019&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; F&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&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;19.11.2019&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; S&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Formula in Persons looks like this: &lt;STRONG&gt;=count(DISTINCT person_nr1)&lt;/STRONG&gt; which works just fine on the lowest level (the shift).&lt;/P&gt;&lt;P&gt;But if I close all levels and just look in the machine, qlikview obvisouly also applies this formula on the top level (machine) and now shows me distinct persons which worked on the machine (and does not take the other levels like day and shift into account).&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I want the following: Basically Qlik should only apply my formula on the lowest level. On all other levels, it should just Aggregate the Values from the lowest level (down to top). So now Qlik shows a Result like this on the top level&lt;/P&gt;&lt;P&gt;maschine&amp;nbsp; &amp;nbsp; &amp;nbsp; Persons&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;123&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 5&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I expect this:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;123&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;16&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Which is the Aggregation of the distinct persons in every shift.&lt;/P&gt;&lt;P&gt;I hope you understand what i mean. How to do this?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Value-Aggregation-in-Pivot-Table/m-p/1648863#M730616</guid>
      <dc:creator>HermGerm</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Value Aggregation in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Value-Aggregation-in-Pivot-Table/m-p/1648866#M730617</link>
      <description>&lt;P&gt;&lt;STRONG&gt;sum(Aggr(count(DISTINCT person_nr1),machine,day,shift))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Could this be a solution? Im not sure, since I do not understand what this formula is doing... Just copied it^^&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 07:15:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Value-Aggregation-in-Pivot-Table/m-p/1648866#M730617</guid>
      <dc:creator>HermGerm</dc:creator>
      <dc:date>2019-11-20T07:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Value Aggregation in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Value-Aggregation-in-Pivot-Table/m-p/1654262#M730618</link>
      <description>&lt;P&gt;Andre, have a look at the following Design Blog post, hopefully it may help explain things a bit further, but what you have as a result of your other post makes sense to me, but I am not a guru on this aspect of the product in the least.&amp;nbsp; If that did work for you, you can go ahead and and use the Accept as Solution button on it to mark that as working for you.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Pitfalls-of-the-Aggr-function/ba-p/1463275" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Pitfalls-of-the-Aggr-function/ba-p/1463275&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;There are some other posts in this area as well related to AGGR, some additional links are on the post above, but here is the base link to the site in case you want to do some further searching on your own:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;One more I forgot that might be of some help too:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/ChartFunctions/NestedAggregations/sum-of-rows-pivot-tables.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/ChartFunctions/NestedAggregations/sum-of-rows-pivot-tables.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2019 18:24:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Value-Aggregation-in-Pivot-Table/m-p/1654262#M730618</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-12-04T18:24:19Z</dc:date>
    </item>
  </channel>
</rss>

