<?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: Calculating the average in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculating-the-average/m-p/285355#M106108</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this is the problem, coz I'm using Wlik version 8.5&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Oct 2011 14:24:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-10-31T14:24:33Z</dc:date>
    <item>
      <title>Calculating the average</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-the-average/m-p/285349#M106102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dears,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a help about the average calculating methodology.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a spreadsheet where on the &lt;/P&gt;&lt;P&gt;&lt;/P&gt;column D, named "percentage", there are some percentages values, like 80% or 30%, some blank cells, and some "---" text values.&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I would like to create and expression to calculate the average of this column, and for this the expression should eliminate the blank cells and the "---" texts values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do it?&lt;BR /&gt;Can you give me an example?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 13:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-the-average/m-p/285349#M106102</guid>
      <dc:creator />
      <dc:date>2011-10-31T13:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating the average</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-the-average/m-p/285350#M106103</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;so you have something like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;ColA, ColD&lt;/P&gt;&lt;P&gt;A, 60%&lt;/P&gt;&lt;P&gt;B, 30%&amp;nbsp; &lt;/P&gt;&lt;P&gt;C, sdfsdf&lt;/P&gt;&lt;P&gt;D,&lt;/P&gt;&lt;P&gt;E, ----&lt;/P&gt;&lt;P&gt;F, 120%&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe a &lt;/P&gt;&lt;P&gt;=avg(ColD) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will just do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See also attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 13:39:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-the-average/m-p/285350#M106103</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-10-31T13:39:34Z</dc:date>
    </item>
    <item>
      <title>Calculating the average</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-the-average/m-p/285351#M106104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nop,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because with the avg(COLID) for example, the blank and --- values will be computated. I just want to calclulate the cells that have the % values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your attention!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 13:46:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-the-average/m-p/285351#M106104</guid>
      <dc:creator />
      <dc:date>2011-10-31T13:46:16Z</dc:date>
    </item>
    <item>
      <title>Calculating the average</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-the-average/m-p/285352#M106105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well in my attached example, those values will not be taken into account (I assume for the count of records).&lt;/P&gt;&lt;P&gt;I think the average is correct, 210 % / 3 is 70%.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I assume your data is different from my sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you post a sample with your data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 13:51:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-the-average/m-p/285352#M106105</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-10-31T13:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating the average</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-the-average/m-p/285353#M106106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Teste.bmp" class="jive-image" src="https://community.qlik.com/legacyfs/online/8311_Teste.bmp" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is my excample.&lt;BR /&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 13:58:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-the-average/m-p/285353#M106106</guid>
      <dc:creator />
      <dc:date>2011-10-31T13:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating the average</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-the-average/m-p/285354#M106107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hm, would be easier if you could post the excel file itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to do something similar, still a plain avg(Percentage) seems to do the job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW, I am currently using QV10 SR2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 14:08:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-the-average/m-p/285354#M106107</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-10-31T14:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating the average</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-the-average/m-p/285355#M106108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this is the problem, coz I'm using Wlik version 8.5&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 14:24:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-the-average/m-p/285355#M106108</guid>
      <dc:creator />
      <dc:date>2011-10-31T14:24:33Z</dc:date>
    </item>
    <item>
      <title>Calculating the average</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-the-average/m-p/285356#M106109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have 8.5 available here for testing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe try&lt;/P&gt;&lt;P&gt;=avg(if(isnum(Percentage),Percentage))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 14:29:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-the-average/m-p/285356#M106109</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-10-31T14:29:43Z</dc:date>
    </item>
  </channel>
</rss>

