<?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: Aggregating averages (Sum/Count) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggregating-averages-Sum-Count/m-p/944266#M325357</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sales is your dimension???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which chart you are using?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Dec 2015 10:20:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-12-03T10:20:02Z</dc:date>
    <item>
      <title>Aggregating averages (Sum/Count)</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregating-averages-Sum-Count/m-p/944259#M325350</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;Please is there any reason why the following will not work? It works if I calculate the sales average (sum/count) of each product separately; however, it does not work if I try to aggregate the sales average of both products. Am I missing an aggregate function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Num(sum({&amp;lt;Sale_Date={"&amp;gt;=$(=Max(&lt;SPAN style="font-size: 13.3333px;"&gt;Sale_Date&lt;/SPAN&gt;)-30)&amp;lt;=$(=Max(&lt;SPAN style="font-size: 13.3333px;"&gt;Sale_Date&lt;/SPAN&gt;))"},ProductType={'Product 1'}&amp;gt;} Sales)/&lt;/P&gt;&lt;P&gt;Count({&amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;Sale_Date&lt;/SPAN&gt;={"&amp;gt;=$(=Max(&lt;SPAN style="font-size: 13.3333px;"&gt;Sale_Date&lt;/SPAN&gt;)-30)&amp;lt;=$(=Max(&lt;SPAN style="font-size: 13.3333px;"&gt;Sale_Date&lt;/SPAN&gt;))"},&lt;SPAN style="font-size: 13.3333px;"&gt;ProductType&lt;/SPAN&gt;={'&lt;SPAN style="font-size: 13.3333px;"&gt;Product 1&lt;/SPAN&gt;'}&amp;gt;} &lt;SPAN style="font-size: 13.3333px;"&gt;Sales&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; +&lt;/P&gt;&lt;P&gt; sum({&amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;Sale_Date&lt;/SPAN&gt;={"&amp;gt;=$(=Max(&lt;SPAN style="font-size: 13.3333px;"&gt;Sale_Date&lt;/SPAN&gt;)-30)&amp;lt;=$(=Max(&lt;SPAN style="font-size: 13.3333px;"&gt;Sale_Date&lt;/SPAN&gt;))"},&lt;SPAN style="font-size: 13.3333px;"&gt;ProductType&lt;/SPAN&gt;={'&lt;SPAN style="font-size: 13.3333px;"&gt;Product 2&lt;/SPAN&gt;'}&amp;gt;} &lt;SPAN style="font-size: 13.3333px;"&gt;Sales&lt;/SPAN&gt;)/&lt;/P&gt;&lt;P&gt; Count({&amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;Sale_Date&lt;/SPAN&gt;={"&amp;gt;=$(=Max(&lt;SPAN style="font-size: 13.3333px;"&gt;Sale_Date&lt;/SPAN&gt;)-30)&amp;lt;=$(=Max(&lt;SPAN style="font-size: 13.3333px;"&gt;Sale_Date&lt;/SPAN&gt;))"},&lt;SPAN style="font-size: 13.3333px;"&gt;ProductType&lt;/SPAN&gt;={'&lt;SPAN style="font-size: 13.3333px;"&gt;Product 2&lt;/SPAN&gt;'}&amp;gt;} Sales),'##%')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 10:04:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregating-averages-Sum-Count/m-p/944259#M325350</guid>
      <dc:creator />
      <dc:date>2015-12-03T10:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregating averages (Sum/Count)</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregating-averages-Sum-Count/m-p/944260#M325351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;What dimension are you use? &lt;/P&gt;&lt;P&gt;Post some example qvw, please.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 10:09:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregating-averages-Sum-Count/m-p/944260#M325351</guid>
      <dc:creator>t_chetirbok</dc:creator>
      <dc:date>2015-12-03T10:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregating averages (Sum/Count)</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregating-averages-Sum-Count/m-p/944261#M325352</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;The dimension is&lt;STRONG&gt; Sales&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, I can not post the qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 10:13:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregating-averages-Sum-Count/m-p/944261#M325352</guid>
      <dc:creator />
      <dc:date>2015-12-03T10:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregating averages (Sum/Count)</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregating-averages-Sum-Count/m-p/944262#M325353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Num(&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;((sum({&amp;lt;Sale_Date={'&amp;gt;=$(=Max(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Sale_Date&lt;/SPAN&gt;)-30)&amp;lt;=$(=Max(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Sale_Date&lt;/SPAN&gt;))'}, ProductType={'Product 1'}&amp;gt;} Sales)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;/&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Count({&amp;lt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Sale_Date&lt;/SPAN&gt;={'&amp;gt;=$(=Max(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Sale_Date&lt;/SPAN&gt;)-30)&amp;lt;=$(=Max(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Sale_Date&lt;/SPAN&gt;))'},&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;ProductType&lt;/SPAN&gt;={'&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Product 1&lt;/SPAN&gt;'}&amp;gt;} &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Sales))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(sum({&amp;lt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Sale_Date&lt;/SPAN&gt;={'&amp;gt;=$(=Max(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Sale_Date&lt;/SPAN&gt;)-30)&amp;lt;=$(=Max(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Sale_Date&lt;/SPAN&gt;))'},&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;ProductType&lt;/SPAN&gt;={'&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Product 2&lt;/SPAN&gt;'}&amp;gt;} &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Sales&lt;/SPAN&gt;)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;/&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Count({&amp;lt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Sale_Date&lt;/SPAN&gt;={'&amp;gt;=$(=Max(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Sale_Date&lt;/SPAN&gt;)-30)&amp;lt;=$(=Max(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Sale_Date&lt;/SPAN&gt;))'},&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;ProductType&lt;/SPAN&gt;={'&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Product 2&lt;/SPAN&gt;'}&amp;gt;} Sales)))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,'#.##')&amp;amp;'%'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 10:18:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregating-averages-Sum-Count/m-p/944262#M325353</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-03T10:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregating averages (Sum/Count)</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregating-averages-Sum-Count/m-p/944263#M325354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;also make sure &lt;STRONG&gt;Format of your expression and SalesDate should be same&lt;/STRONG&gt;...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 10:19:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregating-averages-Sum-Count/m-p/944263#M325354</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-03T10:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregating averages (Sum/Count)</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregating-averages-Sum-Count/m-p/944264#M325355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;May be like below&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Num(sum({&amp;lt;Sale_Date={"&amp;gt;=$(=Max(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Sale_Date&lt;/SPAN&gt;)-30)&amp;lt;=$(=Max(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Sale_Date&lt;/SPAN&gt;))"},ProductType={'Product 1','Product 2'}&amp;gt;} Sales)/&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Count({&amp;lt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Sale_Date&lt;/SPAN&gt;={"&amp;gt;=$(=Max(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Sale_Date&lt;/SPAN&gt;)-30)&amp;lt;=$(=Max(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Sale_Date&lt;/SPAN&gt;))"},&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;ProductType&lt;/SPAN&gt;=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{'Product 1','Product 2'}&lt;/SPAN&gt;&amp;gt;} &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Sales)&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;,'##%')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 10:19:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregating-averages-Sum-Count/m-p/944264#M325355</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-12-03T10:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregating averages (Sum/Count)</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregating-averages-Sum-Count/m-p/944265#M325356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, do you want to get a straingt table with Sales as dimension ans sum Sales as expresion?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 10:20:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregating-averages-Sum-Count/m-p/944265#M325356</guid>
      <dc:creator>t_chetirbok</dc:creator>
      <dc:date>2015-12-03T10:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregating averages (Sum/Count)</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregating-averages-Sum-Count/m-p/944266#M325357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sales is your dimension???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which chart you are using?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 10:20:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregating-averages-Sum-Count/m-p/944266#M325357</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-03T10:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregating averages (Sum/Count)</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregating-averages-Sum-Count/m-p/944267#M325358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works perfectly well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards to all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 10:29:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregating-averages-Sum-Count/m-p/944267#M325358</guid>
      <dc:creator />
      <dc:date>2015-12-03T10:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregating averages (Sum/Count)</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregating-averages-Sum-Count/m-p/944268#M325359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am glad that it is helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 10:45:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregating-averages-Sum-Count/m-p/944268#M325359</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-12-03T10:45:58Z</dc:date>
    </item>
  </channel>
</rss>

