<?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: avg in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/avg/m-p/1006798#M341922</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Can you post your expression for Sum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Dec 2015 06:51:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-12-31T06:51:43Z</dc:date>
    <item>
      <title>avg</title>
      <link>https://community.qlik.com/t5/QlikView/avg/m-p/1006796#M341920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;i made formule in pivot &amp;amp; chart like this avg(if,than.if(than, if(than,else),else))...&lt;/P&gt;&lt;P&gt;the resolt in the line is O.K. but in sum the resolt is not good&lt;/P&gt;&lt;P&gt;exm:&lt;/P&gt;&lt;P&gt;resolt line 1 - 4&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;resolt line 2 - 17&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;resolt line 3 - 7&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;in the sum line it's show 4 !!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;what can be the problem ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;thanks'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;yarin&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Dec 2015 06:13:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/avg/m-p/1006796#M341920</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-31T06:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: avg</title>
      <link>https://community.qlik.com/t5/QlikView/avg/m-p/1006797#M341921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;the problem is that &lt;/P&gt;&lt;P&gt;qlikview evaluates the formula for the total field also and apparently it answers the first condition&lt;/P&gt;&lt;P&gt;you'll need to use this as your expression &lt;/P&gt;&lt;P&gt;sum(aggr( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; avg(if,than.if(than, if(than,else),else)),YourDimensions))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Dec 2015 06:49:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/avg/m-p/1006797#M341921</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2015-12-31T06:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: avg</title>
      <link>https://community.qlik.com/t5/QlikView/avg/m-p/1006798#M341922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Can you post your expression for Sum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Dec 2015 06:51:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/avg/m-p/1006798#M341922</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-31T06:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: avg</title>
      <link>https://community.qlik.com/t5/QlikView/avg/m-p/1006799#M341923</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;Can you post screen shot of your chart???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try aggr()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try like avg(aggr(YourExpression,dim))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regads&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Dec 2015 07:06:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/avg/m-p/1006799#M341923</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-12-31T07:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: avg</title>
      <link>https://community.qlik.com/t5/QlikView/avg/m-p/1006800#M341924</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 hope ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your expression ,&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: 13px;"&gt;&lt;STRONG&gt;(if,than.if(than, if(than,else) &lt;/STRONG&gt; Its fine but you have to aggr for the final else with your dimensions,&lt;/SPAN&gt;&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;&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; font-size: 13px;"&gt;Can you post your sample if possible,&lt;/SPAN&gt;&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;&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; font-size: 13px;"&gt;-Hirish&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Dec 2015 07:37:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/avg/m-p/1006800#M341924</guid>
      <dc:creator>HirisH_V7</dc:creator>
      <dc:date>2015-12-31T07:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: avg</title>
      <link>https://community.qlik.com/t5/QlikView/avg/m-p/1006801#M341925</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;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;avg&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;avg(if,than.if(than, if(than,else),else)),&amp;nbsp; your dimention fields1,your dimention field2....))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Dec 2015 12:26:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/avg/m-p/1006801#M341925</guid>
      <dc:creator>yevgeniy</dc:creator>
      <dc:date>2015-12-31T12:26:22Z</dc:date>
    </item>
  </channel>
</rss>

