<?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: AVG over Group Max in Pivot Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/AVG-over-Group-Max-in-Pivot-Table/m-p/483559#M180693</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks Jonathan.&lt;/P&gt;&lt;P&gt;This is exactly the solution I was looking for &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jul 2013 09:01:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-07-16T09:01:14Z</dc:date>
    <item>
      <title>AVG over Group Max in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/AVG-over-Group-Max-in-Pivot-Table/m-p/483555#M180689</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 have created a pivot table over complaints. Any compaint may have multiple actions. Every action has a start and an end date, for which the difference is calculated. For every complaint the biggest difference should be displayed in the group total. In the total over all complaints i need the average over all group totals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached a sample. For the complaint 10 is the biggest difference 9 Days and for the complaint 20 is biggest difference 8 days. In the total over all values is currently the biggest value from all groups displayed, 9. But I need the average over all group totals, (9 + &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; / 2 = 8,5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyvone an idea, how I can solve this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="44060" class="jive-image-thumbnail jive-image" onclick="" alt="sample.jpg" src="https://community.qlik.com/legacyfs/online/44060_sample.jpg" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 08:01:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AVG-over-Group-Max-in-Pivot-Table/m-p/483555#M180689</guid>
      <dc:creator />
      <dc:date>2013-07-16T08:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: AVG over Group Max in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/AVG-over-Group-Max-in-Pivot-Table/m-p/483556#M180690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The dimensionality() function can help you. This tells you what level of dimension a cell is being calulcated at. You can test if it is 0, and do an average, otherwise do the max you were doing.&lt;/P&gt;&lt;P&gt;See attached.&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 08:07:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AVG-over-Group-Max-in-Pivot-Table/m-p/483556#M180690</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-16T08:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: AVG over Group Max in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/AVG-over-Group-Max-in-Pivot-Table/m-p/483557#M180691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your quick answer, this is helpflul.&lt;/P&gt;&lt;P&gt;But I need the average only for the group totals (lines MAX). Currently the average is calculated for all values and not only for the biggest values of each complaint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The max value from the complaint 10 is 9 and the max value from the complaint 20 is 8.&lt;/P&gt;&lt;P&gt;The result should be 8,5 (9+8/2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alexander&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 08:17:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AVG-over-Group-Max-in-Pivot-Table/m-p/483557#M180691</guid>
      <dc:creator />
      <dc:date>2013-07-16T08:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: AVG over Group Max in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/AVG-over-Group-Max-in-Pivot-Table/m-p/483558#M180692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'll need to use an aggr() function in this case, to test for the max of each of your Compaints.&lt;/P&gt;&lt;P&gt;See attached. I've changed the script to add a Duration field to make it easier to do the expression.&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 08:30:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AVG-over-Group-Max-in-Pivot-Table/m-p/483558#M180692</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-16T08:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: AVG over Group Max in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/AVG-over-Group-Max-in-Pivot-Table/m-p/483559#M180693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks Jonathan.&lt;/P&gt;&lt;P&gt;This is exactly the solution I was looking for &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 09:01:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AVG-over-Group-Max-in-Pivot-Table/m-p/483559#M180693</guid>
      <dc:creator />
      <dc:date>2013-07-16T09:01:14Z</dc:date>
    </item>
  </channel>
</rss>

