<?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 Expression Average Total in Pivot in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-Average-Total-in-Pivot/m-p/790997#M1034984</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I have a pivot chart with expressions that calculates the average customer visits as per the below formula:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px; line-height: 1.5em;"&gt;avg(aggr(Count({$&amp;lt;DocType={'3'}&amp;gt;} DISTINCT CustCode),SmCode,Date))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px; line-height: 1.5em;"&gt;My problem is that the total (partial sum) is not being calculated properly as it doesn't count the dates that have zero visits as shown below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;can you pls help me that?&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/76606_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Jan 2015 16:16:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-01-29T16:16:52Z</dc:date>
    <item>
      <title>Expression Average Total in Pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Average-Total-in-Pivot/m-p/790997#M1034984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I have a pivot chart with expressions that calculates the average customer visits as per the below formula:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px; line-height: 1.5em;"&gt;avg(aggr(Count({$&amp;lt;DocType={'3'}&amp;gt;} DISTINCT CustCode),SmCode,Date))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px; line-height: 1.5em;"&gt;My problem is that the total (partial sum) is not being calculated properly as it doesn't count the dates that have zero visits as shown below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;can you pls help me that?&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/76606_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 16:16:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Average-Total-in-Pivot/m-p/790997#M1034984</guid>
      <dc:creator />
      <dc:date>2015-01-29T16:16:52Z</dc:date>
    </item>
  </channel>
</rss>

