<?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 Calculation Avg based on difference of rows in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculation-Avg-based-on-difference-of-rows/m-p/430546#M160526</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need help from you experts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="33469" class="jive-image-thumbnail jive-image" onclick="" alt="1.JPG" src="https://community.qlik.com/legacyfs/online/33469_1.JPG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this table Column 3 is the difference of column1 rows.(Below - Above Row) i.e., ( 0-97 - 0.85&amp;nbsp; = 0.12 ). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i need is,&amp;nbsp; to calculate the average of Column3(sum(Column3) / Count(Column3)) . I have tried many ways. but am not getting proper result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to use this average value in an another formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help me if you people have any idea on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Feb 2013 16:38:34 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-02-12T16:38:34Z</dc:date>
    <item>
      <title>Calculation Avg based on difference of rows</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-Avg-based-on-difference-of-rows/m-p/430546#M160526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need help from you experts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="33469" class="jive-image-thumbnail jive-image" onclick="" alt="1.JPG" src="https://community.qlik.com/legacyfs/online/33469_1.JPG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this table Column 3 is the difference of column1 rows.(Below - Above Row) i.e., ( 0-97 - 0.85&amp;nbsp; = 0.12 ). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i need is,&amp;nbsp; to calculate the average of Column3(sum(Column3) / Count(Column3)) . I have tried many ways. but am not getting proper result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to use this average value in an another formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help me if you people have any idea on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 16:38:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-Avg-based-on-difference-of-rows/m-p/430546#M160526</guid>
      <dc:creator />
      <dc:date>2013-02-12T16:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation Avg based on difference of rows</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-Avg-based-on-difference-of-rows/m-p/430547#M160527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like attached (for a chart based solution, it might be better to do all this in the script, if you don't need to be selection sensitive)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 16:57:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-Avg-based-on-difference-of-rows/m-p/430547#M160527</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-02-12T16:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation Avg based on difference of rows</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-Avg-based-on-difference-of-rows/m-p/430548#M160528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help. Yeah, it is good if we give in script level, but in chart only am calculating the difference and i have to calculate the average of this difference value. I don't have column1,column2 n 3 as dimension, All are expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any way thanks Stefan, for your reply. based on your reply i got an idea.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 18:13:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-Avg-based-on-difference-of-rows/m-p/430548#M160528</guid>
      <dc:creator />
      <dc:date>2013-02-12T18:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation Avg based on difference of rows</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-Avg-based-on-difference-of-rows/m-p/430549#M160529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Have you try to use an aggr function?&lt;/P&gt;&lt;P&gt;For example : avg(aggr(nodistinct Column1-above(total Column1),CommonYear, CommonMonth))&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vincent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 09:02:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-Avg-based-on-difference-of-rows/m-p/430549#M160529</guid>
      <dc:creator>vincent_ardiet</dc:creator>
      <dc:date>2013-02-13T09:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation Avg based on difference of rows</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-Avg-based-on-difference-of-rows/m-p/430550#M160530</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;sum(TOTAL Column3)/Count(TOTAL Column3)&lt;/P&gt;&lt;P&gt;see the attached file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 09:15:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-Avg-based-on-difference-of-rows/m-p/430550#M160530</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-02-13T09:15:45Z</dc:date>
    </item>
  </channel>
</rss>

