<?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: Calculate Averages per Different Levels in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculate-Averages-per-Different-Levels/m-p/1262836#M851783</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share a sample data with expected output ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Feb 2017 18:34:30 GMT</pubDate>
    <dc:creator>vishsaggi</dc:creator>
    <dc:date>2017-02-24T18:34:30Z</dc:date>
    <item>
      <title>Calculate Averages per Different Levels</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Averages-per-Different-Levels/m-p/1262831#M851778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a source file with these columns:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Person, Process, Sub-process, Item, Hours. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Process has multiple Sub-processes and Sub-process has multiple Items.&lt;/P&gt;&lt;P&gt;I would need to show Average hours a Person spent on each level. (with the drill down capability if possible).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using this expression: SUM(Hours)/Count (DISTINCT Process)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but need to be able to change it dynamically ...say if I select Sub-process or Item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What would be a best way of doing this. (Chart or a table) and how?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Averages-per-Different-Levels/m-p/1262831#M851778</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Averages per Different Levels</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Averages-per-Different-Levels/m-p/1262832#M851779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pivot table should help you in this regards? As it will automatically drill down based on your dimensions. The table will reflect based on your selections? If this is not what you are looking let us know your output. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 16:30:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Averages-per-Different-Levels/m-p/1262832#M851779</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-02-24T16:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Averages per Different Levels</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Averages-per-Different-Levels/m-p/1262833#M851780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; What is the expression I should use for pivot?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 17:11:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Averages-per-Different-Levels/m-p/1262833#M851780</guid>
      <dc:creator />
      <dc:date>2017-02-24T17:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Averages per Different Levels</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Averages-per-Different-Levels/m-p/1262834#M851781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dim: &lt;/P&gt;&lt;P&gt;Process&lt;/P&gt;&lt;P&gt;SubProcess&lt;/P&gt;&lt;P&gt;Item&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expr:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SUM(Hours)/Count (DISTINCT Process)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 17:18:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Averages-per-Different-Levels/m-p/1262834#M851781</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-02-24T17:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Averages per Different Levels</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Averages-per-Different-Levels/m-p/1262835#M851782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How is this expression going to show Averages per SubProcess and per Item?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also Person should be in Dimensions as well, right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 18:31:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Averages-per-Different-Levels/m-p/1262835#M851782</guid>
      <dc:creator />
      <dc:date>2017-02-24T18:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Averages per Different Levels</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Averages-per-Different-Levels/m-p/1262836#M851783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share a sample data with expected output ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 18:34:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Averages-per-Different-Levels/m-p/1262836#M851783</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-02-24T18:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Averages per Different Levels</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Averages-per-Different-Levels/m-p/1262837#M851784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok. Attached is the sample data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Desired output should be averages on all levels (Process, Sub-process and Item) per person.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 18:57:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Averages-per-Different-Levels/m-p/1262837#M851784</guid>
      <dc:creator />
      <dc:date>2017-02-24T18:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Averages per Different Levels</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Averages-per-Different-Levels/m-p/1262838#M851785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sergio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having a similar problem as you are having. I will follow this thread to see if a solution is presented. In the meantime I have two charts from my own example that can display how you can show the data. The circular chart is meant to display average sales by week compared to actual sales by week. (This helps the users clearly see outlier points which can lead to deeper sales discussions). The chart on the right is a line chart which should also display actual sales vs. average sales. (The average should always be a straight line of which actual sales can be plotted against so that it can be determined which weeks should be of concern if they are not within a particular threshold compared to average weekly sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formula I use for actual sales is: =sales&lt;/P&gt;&lt;P&gt;The formula I use for average sales is: =Sum(TOTAL Sales)/Count(Distinct Week)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My issue is I can not get my average sales to calculate correctly and be dynamic according to the number of weeks selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Brandon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 19:25:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Averages-per-Different-Levels/m-p/1262838#M851785</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-24T19:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Averages per Different Levels</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Averages-per-Different-Levels/m-p/1262839#M851786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure if this is what you want? Let us know? See attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 19:48:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Averages-per-Different-Levels/m-p/1262839#M851786</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-02-24T19:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Averages per Different Levels</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Averages-per-Different-Levels/m-p/1262840#M851787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your solution Vishwarath.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, this is not what I need. E.g.&lt;/P&gt;&lt;P&gt;If I select Staff 2. He worked a total of 209 hrs.&lt;/P&gt;&lt;P&gt;That was 3 processes so average would be 209/3&lt;/P&gt;&lt;P&gt;That was 2 sub-processes etc. - so average of that as well. etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 20:12:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Averages-per-Different-Levels/m-p/1262840#M851787</guid>
      <dc:creator />
      <dc:date>2017-02-24T20:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Averages per Different Levels</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Averages-per-Different-Levels/m-p/1262841#M851788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this? Attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 23:48:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Averages-per-Different-Levels/m-p/1262841#M851788</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-02-24T23:48:18Z</dc:date>
    </item>
  </channel>
</rss>

