<?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 Cumulative Average &amp; Count in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cumulative-Average-Count/m-p/641043#M678925</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I have some data with 2 dates.&amp;nbsp; I need to calculate the time between them, which I can do, however I also need to show the cumulative average of the time it is taking for the process to complete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cant get any of the cumulative totals or averages to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it is because there are some fields which have not completed the process, however I don't need to count these as I only need to only count the average time taken for ones which have completed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see attached&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 May 2014 07:51:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-05-21T07:51:11Z</dc:date>
    <item>
      <title>Cumulative Average &amp; Count</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Average-Count/m-p/641043#M678925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I have some data with 2 dates.&amp;nbsp; I need to calculate the time between them, which I can do, however I also need to show the cumulative average of the time it is taking for the process to complete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cant get any of the cumulative totals or averages to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it is because there are some fields which have not completed the process, however I don't need to count these as I only need to only count the average time taken for ones which have completed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see attached&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 07:51:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Average-Count/m-p/641043#M678925</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-21T07:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Average &amp; Count</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Average-Count/m-p/641044#M678926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the second dimension is confusing the accumulation option in the expressions box. You can try using a combination of Rangesum() and above() functions to get the desired result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rangesum(above(total count(Process_Start),0,RowNo(total)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;returns the count of the process_starts cumulatively (without having the accumulation on as an option in the expressions dialogue)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then tweak this to get the other results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=rangeavg(above(total NetWorkDays(Process_Start,Process_End),0,RowNo(total)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the averagetime&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Letme know if this works,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erica&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 05:54:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Average-Count/m-p/641044#M678926</guid>
      <dc:creator />
      <dc:date>2014-05-22T05:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Cumulative Average &amp; Count</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Average-Count/m-p/641045#M678927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works, but there is a snag.&amp;nbsp; As there is a lot of data I need to group my table by month, and when I do this I lose the cumulative average.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached an example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 06:37:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Average-Count/m-p/641045#M678927</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-22T06:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Cumulative Average &amp; Count</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Average-Count/m-p/641046#M678928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Can't check this out in depth just yet but it might be becaues of the "total" function (aggregating it over the whole table instead of month)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try replacing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...Total...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...total &amp;lt;Month&amp;gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the functions. This will evalutate the function over all the values in the group betewen the &amp;lt;&amp;gt;, ie by month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erica&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 08:09:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Average-Count/m-p/641046#M678928</guid>
      <dc:creator />
      <dc:date>2014-05-22T08:09:09Z</dc:date>
    </item>
  </channel>
</rss>

