<?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: weighted average in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/weighted-average/m-p/1631240#M734341</link>
    <description>&lt;P&gt;Hi rubenmarin !&lt;/P&gt;&lt;P&gt;In the Weighted average table I calculate the average of the field I need to compare the average of the ded_day field for each user of both the selected period and the same period of the previous year. In principle I don't know if using the avg function is correct. What I need is in a table (or graph) to compare the average of the field ded_day of each user with the average of the same field of the department (Dep) and Area (Area) to which they belong in the year (and month or months selected) and from the same period of the previous year.&lt;/P&gt;&lt;P&gt;So in the table must appear the user, their average of the ded_day field for the selected period and the average of the same field for the area and department to which it belongs&lt;/P&gt;&lt;P&gt;taking into account that an area can contain one or more departments&lt;/P&gt;&lt;P&gt;Thank's for your time and your interest in help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Oct 2019 18:38:55 GMT</pubDate>
    <dc:creator>francis_gr</dc:creator>
    <dc:date>2019-10-03T18:38:55Z</dc:date>
    <item>
      <title>weighted average</title>
      <link>https://community.qlik.com/t5/QlikView/weighted-average/m-p/1625932#M734335</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;In my attached file, there is a table (weighted average) where i need to compare the average of each user with the average (weighted) of the users of the same area and Department .&lt;/P&gt;&lt;P&gt;I appreciate your help.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/weighted-average/m-p/1625932#M734335</guid>
      <dc:creator>francis_gr</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: weighted average</title>
      <link>https://community.qlik.com/t5/QlikView/weighted-average/m-p/1626134#M734336</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try like this:&lt;/P&gt;&lt;P&gt;avg of the user : avg (field)&lt;/P&gt;&lt;P&gt;avg of area and department : avg ( total &amp;lt;area, department&amp;gt; field)&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 07:51:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/weighted-average/m-p/1626134#M734336</guid>
      <dc:creator>StarinieriG</dc:creator>
      <dc:date>2019-09-20T07:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: weighted average</title>
      <link>https://community.qlik.com/t5/QlikView/weighted-average/m-p/1626599#M734337</link>
      <description>&lt;P&gt;Hi StarinieriG!&lt;/P&gt;&lt;P&gt;Thanks for your reply but your indicacion doesn't solve my problem. Your expression just&amp;nbsp;show&amp;nbsp;the average of the Ded_day field regardless of the year or month selected or the area or department to which the user belongs.&lt;/P&gt;&lt;P&gt;For example, for user 2, if selected year is 2019 and month 1, weighted average value for his area (HR in my example) must be 3,608&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;area&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Dep (ofic field)&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Num Users (A)&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;sum Ded_day (B)&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;cal (A*B)&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;HR&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;RES&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;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community.qlik.com/t5/QlikView/weighted-average/m-p/1626599#M734337</guid>
      <dc:creator>francis_gr</dc:creator>
      <dc:date>2019-09-21T18:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: weighted average</title>
      <link>https://community.qlik.com/t5/QlikView/weighted-average/m-p/1629777#M734338</link>
      <description>&lt;P&gt;Adding a comment to kick this one back up in the list given you attached a QVW to see if anyone else may have any ideas on things.&amp;nbsp; Unfortunately I am not too swift with the development items.&amp;nbsp; About the best I could guide you would be to check out the Design Blog area and the posts there to see if you can find something that will help:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Maybe this one specifically:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Average-Which-average/ba-p/1466654" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Average-Which-average/ba-p/1466654&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Sorry I do not have anything better for you.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2019 21:30:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/weighted-average/m-p/1629777#M734338</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-09-30T21:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: weighted average</title>
      <link>https://community.qlik.com/t5/QlikView/weighted-average/m-p/1630212#M734339</link>
      <description>Hi! Really appreciate your help. I've been checking the links and I've seen interesting things that I didn't know. Given my knowledge, I don't see the way to get the data I need. It may be too complicated Thank you for your help and for your time. Regards</description>
      <pubDate>Tue, 01 Oct 2019 18:30:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/weighted-average/m-p/1630212#M734339</guid>
      <dc:creator>francis_gr</dc:creator>
      <dc:date>2019-10-01T18:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: weighted average</title>
      <link>https://community.qlik.com/t5/QlikView/weighted-average/m-p/1630216#M734340</link>
      <description>&lt;P&gt;Hi, in your document when I select 2019, january and area HR I see 6 different users, not 5.&lt;/P&gt;&lt;P&gt;Also I can't see how you wnat to see those results, it's a text with a global result? should be in a table like the one in this post?&lt;/P&gt;&lt;P&gt;Can you post a sample with the values you expect and the way you want to see them?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2019 18:51:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/weighted-average/m-p/1630216#M734340</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2019-10-01T18:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: weighted average</title>
      <link>https://community.qlik.com/t5/QlikView/weighted-average/m-p/1631240#M734341</link>
      <description>&lt;P&gt;Hi rubenmarin !&lt;/P&gt;&lt;P&gt;In the Weighted average table I calculate the average of the field I need to compare the average of the ded_day field for each user of both the selected period and the same period of the previous year. In principle I don't know if using the avg function is correct. What I need is in a table (or graph) to compare the average of the field ded_day of each user with the average of the same field of the department (Dep) and Area (Area) to which they belong in the year (and month or months selected) and from the same period of the previous year.&lt;/P&gt;&lt;P&gt;So in the table must appear the user, their average of the ded_day field for the selected period and the average of the same field for the area and department to which it belongs&lt;/P&gt;&lt;P&gt;taking into account that an area can contain one or more departments&lt;/P&gt;&lt;P&gt;Thank's for your time and your interest in help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2019 18:38:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/weighted-average/m-p/1631240#M734341</guid>
      <dc:creator>francis_gr</dc:creator>
      <dc:date>2019-10-03T18:38:55Z</dc:date>
    </item>
  </channel>
</rss>

