<?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 avg() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/help-with-avg/m-p/560840#M209309</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't worry &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I remove NOT but calculations were wrong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Nov 2013 17:14:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-11-21T17:14:40Z</dc:date>
    <item>
      <title>help with avg()</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-avg/m-p/560832#M209301</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 result of the function avg() deviates by a small value. The result of the func sum() and count() are correct in the same table and sum()/count() are deviant either. For example:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;field&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;sum(field)&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;count(field)&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;avg(field)&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;sum/count&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1.00&lt;/TD&gt;&lt;TD style="color: #575757; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1.34&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1.34&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1.00&lt;/TD&gt;&lt;TD style="color: #575757; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2.00&lt;/TD&gt;&lt;TD style="color: #575757; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1.00&lt;/TD&gt;&lt;TD style="color: #575757; text-align: left; background-color: transparent; font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;request:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; TESTGUID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; AVG(NUMERICALRESULT) AS 'NUMRESAVG',&lt;/P&gt;&lt;P&gt;&amp;nbsp; SUM(NUMERICALRESULT) AS 'NUMRESSUM',&lt;/P&gt;&lt;P&gt;&amp;nbsp; COUNT(NUMERICALRESULT) AS 'NUMRESCOUNT'&lt;/P&gt;&lt;P&gt;Resident TRES&lt;/P&gt;&lt;P&gt;WHERE NOT IsNull(NUMERICALRESULT)&lt;/P&gt;&lt;P&gt;Group BY TESTGUID;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 12:53:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-avg/m-p/560832#M209301</guid>
      <dc:creator />
      <dc:date>2013-11-21T12:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: help with avg()</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-avg/m-p/560833#M209302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you little elaborate ur req? What is ur expected output for the above data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 13:41:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-avg/m-p/560833#M209302</guid>
      <dc:creator>qliksus</dc:creator>
      <dc:date>2013-11-21T13:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: help with avg()</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-avg/m-p/560834#M209303</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 try to create a Statistics Box (New Sheet Object -&amp;gt; Statistics Box) and apply all the required aggregations(Sum,Avg,Count...). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give you the exact data till the required decimals. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sai &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 13:46:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-avg/m-p/560834#M209303</guid>
      <dc:creator />
      <dc:date>2013-11-21T13:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: help with avg()</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-avg/m-p/560835#M209304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Could you please share the source file to have a look for better understanding?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Vinoth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 13:46:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-avg/m-p/560835#M209304</guid>
      <dc:creator />
      <dc:date>2013-11-21T13:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: help with avg()</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-avg/m-p/560836#M209305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;important part:&lt;/P&gt;&lt;P&gt;//....&lt;/P&gt;&lt;P&gt;TRES:&lt;/P&gt;&lt;P&gt;SQL SELECT RESULTGUID, TESTGUID, SAMPLEGUID, RESULTID, NUMERICALRESULT, TEXTRESULT, &lt;/P&gt;&lt;P&gt;&amp;nbsp; UNIT, RESULTTYPE, SEQUENCENUMBER&lt;/P&gt;&lt;P&gt;FROM ELNPROD.TESTRESULT;&lt;/P&gt;&lt;P&gt;//...&lt;/P&gt;&lt;P&gt;TRES2:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; TESTGUID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; AVG(NUMERICALRESULT) AS 'NUMRESAVG'&lt;/P&gt;&lt;P&gt;&amp;nbsp; SUM(NUMERICALRESULT) AS 'NUMRESSUM',&lt;/P&gt;&lt;P&gt;&amp;nbsp; COUNT(NUMERICALRESULT) AS 'NUMRESCOUNT'&lt;/P&gt;&lt;P&gt;Resident TRES&lt;/P&gt;&lt;P&gt;WHERE NOT IsNull(NUMERICALRESULT)&lt;/P&gt;&lt;P&gt;Group BY TESTGUID;&lt;/P&gt;&lt;P&gt;//...&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Безымянный5.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/49389_Безымянный5.png" style="width: 620px; height: 364px;" /&gt;&lt;/P&gt;&lt;P&gt;Average(=NUMRESAVG)&lt;/P&gt;&lt;P&gt;Results(=if(isNull(NUMERICALRESULT), TEXTRESULT, NUMERICALRESULT &amp;amp; ' ' &amp;amp; UNIT)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 16:25:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-avg/m-p/560836#M209305</guid>
      <dc:creator />
      <dc:date>2013-11-21T16:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: help with avg()</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-avg/m-p/560837#M209306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There could be an issue with isnull().&amp;nbsp; Can you try this instead:&lt;/P&gt;&lt;P&gt;WHERE NOT len(trim(NUMERICALRESULT))&amp;gt;0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: I'd rather don't create this TRES2 at all, and use front-end calculations directly in the table.&amp;nbsp; But maybe you have reasons which I don't know...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 16:32:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-avg/m-p/560837#M209306</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-21T16:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: help with avg()</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-avg/m-p/560838#M209307</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: 12px; background-color: #f6f6f6;"&gt;I comment string &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: 12px; background-color: #f6f6f6;"&gt;//WHERE NOT IsNull(NUMERICALRESULT)&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: 12px; background-color: #f6f6f6;"&gt;and nothing has changed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I tried &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;WHERE NOT len(trim(NUMERICALRESULT))&amp;gt;0&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: 12px; background-color: #f6f6f6;"&gt;there is nothink in Everage.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 16:40:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-avg/m-p/560838#M209307</guid>
      <dc:creator />
      <dc:date>2013-11-21T16:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: help with avg()</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-avg/m-p/560839#M209308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, my mistyping &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;, there is no NOT:&lt;/P&gt;&lt;P&gt;WHERE len(trim(NUMERICALRESULT))&amp;gt;0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 16:53:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-avg/m-p/560839#M209308</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-21T16:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: help with avg()</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-avg/m-p/560840#M209309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't worry &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I remove NOT but calculations were wrong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 17:14:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-avg/m-p/560840#M209309</guid>
      <dc:creator />
      <dc:date>2013-11-21T17:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: help with avg()</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-avg/m-p/560841#M209310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not clear without an example...&amp;nbsp; Can you upload a sample application?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 18:36:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-avg/m-p/560841#M209310</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-21T18:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: help with avg()</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-avg/m-p/560842#M209311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a view QlikView (.qvw) file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 18:45:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-avg/m-p/560842#M209311</guid>
      <dc:creator />
      <dc:date>2013-11-21T18:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: help with avg()</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-avg/m-p/560843#M209312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, can you upload the qvw file?&amp;nbsp; Not necessarily your actual file, maybe a simplified sample with some data that allows to reproduce the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 20:00:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-avg/m-p/560843#M209312</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-21T20:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: help with avg()</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-avg/m-p/560844#M209313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://www.fayloobmennik.net/3370460"&gt;http://www.fayloobmennik.net/3370460&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sorry for design &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2013 11:28:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-avg/m-p/560844#M209313</guid>
      <dc:creator />
      <dc:date>2013-11-22T11:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: help with avg()</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-avg/m-p/560845#M209314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Nov 2013 11:26:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-avg/m-p/560845#M209314</guid>
      <dc:creator />
      <dc:date>2013-11-24T11:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: help with avg()</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-avg/m-p/560846#M209315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you got it right - the design is the problem.&amp;nbsp; It is pretty much messed up, and the table TRES is a loosely coupled table in your data model.&amp;nbsp; I don't even attempt to predict how it may work.&amp;nbsp; Apparently it was not intentional - QV loosened it to break the logical loops.&amp;nbsp; Besides, you have synthetic keys, which is usually a symptom of a poor deign.&lt;/P&gt;&lt;P&gt;So, the step one for you is to re-design the whole thing, create a more or less clean data model.&amp;nbsp; I guess you need help from a local QV consultant who can spend enough time to understand the purpose and the data.&amp;nbsp; Or, you need to spend time getting QV training.&amp;nbsp; Maybe it is the best way because you know the data and the purpose already.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Nov 2013 21:22:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-avg/m-p/560846#M209315</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-24T21:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: help with avg()</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-avg/m-p/560847#M209316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was checking your application.&lt;/P&gt;&lt;P&gt;Did you noticed that your NUMERICALRESULT is a decimal not an integer?&lt;/P&gt;&lt;P&gt;At your first example, maybe your sum(Field) is not exactly 5, but another value like 5,36?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Nov 2013 21:45:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-avg/m-p/560847#M209316</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2013-11-24T21:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: help with avg()</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-avg/m-p/560848#M209317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for help. I fix my script. Problem persists. I found what was wrong. I&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;f to use that:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;= if(field &amp;gt; 0, avg_field, ' ')&lt;/P&gt;&lt;P&gt;the result was wrong as I wrote above. Correctly:&lt;/P&gt;&lt;P&gt;= if(field &amp;gt; 0, avg_field)&lt;/P&gt;&lt;P&gt;(without "else" state)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be for someone else's obvious, but I did not realize.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your attention.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 06:15:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-avg/m-p/560848#M209317</guid>
      <dc:creator />
      <dc:date>2013-11-26T06:15:47Z</dc:date>
    </item>
  </channel>
</rss>

