<?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 How to count backward and calculating average weeks? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-count-backward-and-calculating-average-weeks/m-p/291630#M108242</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May someone can help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table that has tickets and resolving areas.&amp;nbsp; I need to show the total number of resolved tickets by area, this for a certain time frame (could be week or year) , but also the average of this. What I mean is if I select from a year some specific weeks I want to obtain the average of this.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;Year 2011 --&amp;gt; weeks 4,5,6&amp;nbsp; --&amp;gt; resolved tickets 10, 21, 9 --&amp;gt; The result of average week will be 3. So if I want the average of resolved tickets will be sum resolved tickets / average weeks (30/3 = 10)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do this? Any help will be really aprreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;﻿&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jan 2012 23:16:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-01-19T23:16:33Z</dc:date>
    <item>
      <title>How to count backward and calculating average weeks?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-backward-and-calculating-average-weeks/m-p/291630#M108242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May someone can help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table that has tickets and resolving areas.&amp;nbsp; I need to show the total number of resolved tickets by area, this for a certain time frame (could be week or year) , but also the average of this. What I mean is if I select from a year some specific weeks I want to obtain the average of this.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;Year 2011 --&amp;gt; weeks 4,5,6&amp;nbsp; --&amp;gt; resolved tickets 10, 21, 9 --&amp;gt; The result of average week will be 3. So if I want the average of resolved tickets will be sum resolved tickets / average weeks (30/3 = 10)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do this? Any help will be really aprreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;﻿&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2012 23:16:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-backward-and-calculating-average-weeks/m-p/291630#M108242</guid>
      <dc:creator />
      <dc:date>2012-01-19T23:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to count backward and calculating average weeks?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-backward-and-calculating-average-weeks/m-p/291631#M108243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not quite sure if I understand, if you select on your data, your aggregation functions should only take your selection into account in default state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I would assume, that if you select on weeks 4,5,6 in year 2011, something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= sum([Resolved Tickets]) / count(distinct [weeks]) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should result in (10+21+9) / 3 = 40 / 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Probably this is not what you want?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2012 10:43:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-backward-and-calculating-average-weeks/m-p/291631#M108243</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-01-20T10:43:06Z</dc:date>
    </item>
    <item>
      <title>How to count backward and calculating average weeks?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-backward-and-calculating-average-weeks/m-p/291632#M108244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks a lot, it's useful. But I'm trying to save this selection on variable, so I can used it on another thing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2012 14:04:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-backward-and-calculating-average-weeks/m-p/291632#M108244</guid>
      <dc:creator />
      <dc:date>2012-01-20T14:04:54Z</dc:date>
    </item>
    <item>
      <title>How to count backward and calculating average weeks?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-backward-and-calculating-average-weeks/m-p/291633#M108245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are trying to save the selection on a variable? Not sure if I understand. Are you talking about a bookmark?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use set analysis in your sum and count function to e.g. use a bookmark (let's call it BookMark1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= sum( {BookMark1} [Resolved Tickets]) / count( {BookMark1} distinct [weeks])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2012 14:08:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-backward-and-calculating-average-weeks/m-p/291633#M108245</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-01-20T14:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to count backward and calculating average weeks?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-backward-and-calculating-average-weeks/m-p/291634#M108246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I’m going to try it. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gissela&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2012 14:20:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-backward-and-calculating-average-weeks/m-p/291634#M108246</guid>
      <dc:creator />
      <dc:date>2012-01-20T14:20:20Z</dc:date>
    </item>
  </channel>
</rss>

