<?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: Counting average on specific sum in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610266#M225239</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Count({$&amp;lt;[Sales Category]={"Shoes and other"}&amp;gt;} [Sales Person])/Count(Total &amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Sales Category]&lt;/SPAN&gt;&amp;gt;[Sales Person])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Try this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;hope this helps&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Mar 2014 14:31:26 GMT</pubDate>
    <dc:creator>SunilChauhan</dc:creator>
    <dc:date>2014-03-06T14:31:26Z</dc:date>
    <item>
      <title>Counting average on specific sum</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610263#M225236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a formula problem with an average calculation I am trying to set up. I have an app where I show different sales in different categories for different people using the following formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;[Sales Category]={"Shoes and other"}&amp;gt;} [Sales Person])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This formula works fine for its calculation, however when I try an rewrite it to an average calculation i cant seem to get it to work. This is the formula I have tried:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;[Sales Category]={"Shoes and other"}&amp;gt;})/Count(Sales Person)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I cannot seem to get it to work. Help plz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 14:12:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610263#M225236</guid>
      <dc:creator />
      <dc:date>2014-03-06T14:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: Counting average on specific sum</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610264#M225237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are a two syntax problems in your expression. Try this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Count({$&amp;lt;[Sales Category]={"Shoes and other"}&amp;gt;} [Sales Person])/Count([Sales Person])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 14:19:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610264#M225237</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-03-06T14:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Counting average on specific sum</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610265#M225238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt;COUNT({&amp;lt;[Sales Category]={"Shoes and other"}&amp;gt;} [Sales Person])/COUNT([Sales Person])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 14:31:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610265#M225238</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-03-06T14:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Counting average on specific sum</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610266#M225239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Count({$&amp;lt;[Sales Category]={"Shoes and other"}&amp;gt;} [Sales Person])/Count(Total &amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Sales Category]&lt;/SPAN&gt;&amp;gt;[Sales Person])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Try this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;hope this helps&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 14:31:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610266#M225239</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2014-03-06T14:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: Counting average on specific sum</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610267#M225240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thansk for the replies, however (sorry for not being clear on this) i do not want the calculation to be on the individual sales person but rather on all total sales/sales category. if i could write it freely i would want it something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(all sales for this category A) / (total number of sales people) = average sales category A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 14:49:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610267#M225240</guid>
      <dc:creator />
      <dc:date>2014-03-06T14:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Counting average on specific sum</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610268#M225241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px; background-color: #f6f6f6;"&gt;COUNT({&amp;lt;[Sales Category]={"Shoes and other"}&amp;gt;} [Sales Person])/COUNT(TOTAL [Sales Person])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 14:53:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610268#M225241</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-03-06T14:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Counting average on specific sum</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610269#M225242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Count(distinct [Sales Person])/Count(Total &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Sales Category]&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;gt;[Sales Person])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;try this &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;hope this helps&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 14:55:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610269#M225242</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2014-03-06T14:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Counting average on specific sum</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610270#M225243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Nils&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use Aggr Hope you can make work with this function&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f5faf0;"&gt; = &lt;STRONG&gt;Avg( Aggr( count({&amp;lt;Sales Category={"Shoes and other"}&amp;gt;}),Sales Person )) &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 15:15:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610270#M225243</guid>
      <dc:creator>sunilkumarqv</dc:creator>
      <dc:date>2014-03-06T15:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: Counting average on specific sum</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610271#M225244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i feel that this is close, but it does not really do what i want it to do. i just want the total on category A divided by total number of sales people, something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Count(Sales category = "Shoes and other")] / Count(Sales Person)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why doesnt this work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 15:16:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610271#M225244</guid>
      <dc:creator />
      <dc:date>2014-03-06T15:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Counting average on specific sum</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610272#M225245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6;"&gt;Try below&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6;"&gt;COUNT(Total &amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sales category&lt;/SPAN&gt;&amp;gt; [Sales Person])/COUNT(TOTAL [Sales Person])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6;"&gt;provide &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6;"&gt;Sales category&lt;/SPAN&gt; aS DIMENSION&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6;"&gt;hope this helps&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 15:21:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610272#M225245</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2014-03-06T15:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Counting average on specific sum</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610273#M225246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.8px; background-color: #f6f6f6;"&gt;COUNT({&amp;lt;[Sales Category]={"Shoes and other"}&amp;gt;} [Sales])/COUNT(TOTAL [Sales Person])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.8px; background-color: #f6f6f6;"&gt;Sales mean your field where sales value...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 15:23:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610273#M225246</guid>
      <dc:creator />
      <dc:date>2014-03-06T15:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Counting average on specific sum</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610274#M225247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im sorry but this is not again accounting for the sales category "Shoes and other", or am I missing something. It doesnt work anyhow, it results in a "1" which isnt correct&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 15:46:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610274#M225247</guid>
      <dc:creator />
      <dc:date>2014-03-06T15:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Counting average on specific sum</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610275#M225248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like we are unable to understand your requirements !!&lt;/P&gt;&lt;P&gt;Can you be more specific in your clarification ? We need to understand first ....&lt;/P&gt;&lt;P&gt; Thanks....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 15:49:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610275#M225248</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-03-06T15:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Counting average on specific sum</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610276#M225249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think below you want...&lt;/P&gt;&lt;P&gt;You want to count sales category where shoes and other&lt;/P&gt;&lt;P&gt;Divided by total sale person &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.8px; background-color: #f6f6f6;"&gt;COUNT({&amp;lt;[Sales Category]={"Shoes and other"}&amp;gt;} [Sales Category])/COUNT(TOTAL [Sales Person])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt; Vinay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 15:57:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610276#M225249</guid>
      <dc:creator />
      <dc:date>2014-03-06T15:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Counting average on specific sum</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610277#M225250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to take the total sales for the category "shoes" and divide that by the number of sales people i have. so i need the system to go into the database and look in the column "sales category" find "shoes" and take all the sales for that category and sum it up. then divide that by the total number of sales people.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is why i need some kind of ID like "sales category" = "shoes" otherwise it will not work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope this clarifies everything.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 15:58:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610277#M225250</guid>
      <dc:creator />
      <dc:date>2014-03-06T15:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Counting average on specific sum</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610278#M225251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;try this &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Count({$&amp;lt;[Sales Category]={"Shoes and other"}&amp;gt;} [Sales Person])/Count({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Sales Category]&lt;/SPAN&gt;={*}&amp;gt;}[Sales Person])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;it would be great if attached sample with explaination&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 16:01:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610278#M225251</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2014-03-06T16:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: Counting average on specific sum</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610279#M225252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Count({&amp;lt;[Sales Category] = {"Shoes and other"}&amp;gt;}[Sales Person])/Count(Distinct [Sales Person])&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;Count({&amp;lt;[Sales Category] = {"Shoes and other"}&amp;gt;}[Sales Person])/Count(TOTAL [Sales Person])&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;Count({&amp;lt;[Sales Category] = {"Shoes and other"}&amp;gt;}[Sales Person])/Count({1} [Sales Person])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 16:06:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610279#M225252</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-03-06T16:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Counting average on specific sum</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610280#M225253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f5faf0;"&gt;Try this&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f5faf0;"&gt;Hope this gives what you need actually &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f5faf0;"&gt;= &lt;/SPAN&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Avg( Aggr( count({&amp;lt;Sales Category={"Shoes and other"}&amp;gt;}),Sales Person ))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 04:03:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610280#M225253</guid>
      <dc:creator>sunilkumarqv</dc:creator>
      <dc:date>2014-03-07T04:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Counting average on specific sum</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610281#M225254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I solved this after several different tries:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(Count({$&amp;lt;[&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sales Category&lt;/SPAN&gt;]={"&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Shoes and other&lt;/SPAN&gt;"}&amp;gt;} [Sales]) / Count (distinct [Sales Person]))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all fro your input!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 13:27:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-average-on-specific-sum/m-p/610281#M225254</guid>
      <dc:creator />
      <dc:date>2014-03-07T13:27:02Z</dc:date>
    </item>
  </channel>
</rss>

