<?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: Help with averages in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-averages/m-p/1461622#M793089</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kenneth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess you are missing some brackets also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;Sum(UNITS)/count(distinct PACKAGE_ID)&lt;STRONG&gt;) &lt;/STRONG&gt;/ &lt;STRONG&gt;(&lt;/STRONG&gt;sum(total UNITS)/count(total distinct PACKAGE_ID)&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Carlos M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jan 2018 20:13:54 GMT</pubDate>
    <dc:creator>CarlosAMonroy</dc:creator>
    <dc:date>2018-01-09T20:13:54Z</dc:date>
    <item>
      <title>Help with averages</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-averages/m-p/1461621#M793088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sum(UNITS)/count(distinct(PACKAGE_ID))/sum(total units)/count(total distinct(PACKAGE_ID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attempting to calculate an individiual sales reps average units per sale against teh business' overall average units per sale. This is the expression I wrote but delivers a - for all reps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(units)/count(distinct(package_ID) is 100% accuare to calculate each reps personal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I am trying to figure out how much percentage difference between their average units per sale vs the business as a whole(all reps).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance as always!&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/Help-with-averages/m-p/1461621#M793088</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help with averages</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-averages/m-p/1461622#M793089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kenneth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess you are missing some brackets also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;Sum(UNITS)/count(distinct PACKAGE_ID)&lt;STRONG&gt;) &lt;/STRONG&gt;/ &lt;STRONG&gt;(&lt;/STRONG&gt;sum(total UNITS)/count(total distinct PACKAGE_ID)&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Carlos M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2018 20:13:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-averages/m-p/1461622#M793089</guid>
      <dc:creator>CarlosAMonroy</dc:creator>
      <dc:date>2018-01-09T20:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: Help with averages</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-averages/m-p/1461623#M793090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's the exact same result. I just get the -&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2018 20:22:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-averages/m-p/1461623#M793090</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-09T20:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Help with averages</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-averages/m-p/1461624#M793091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I notice that in the first part of your expression, UNITS is all caps. In the last part it is lower case. Are these two different fields?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2018 20:27:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-averages/m-p/1461624#M793091</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2018-01-09T20:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Help with averages</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-averages/m-p/1461625#M793092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;same field, sorry about the caps &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2018 20:28:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-averages/m-p/1461625#M793092</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-09T20:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help with averages</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-averages/m-p/1461626#M793093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;turns out that was indeed the problem, qlik validated the expression with ok but in fact did not recognize the units as UNITS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for pointing it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2018 20:30:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-averages/m-p/1461626#M793093</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-09T20:30:29Z</dc:date>
    </item>
  </channel>
</rss>

