<?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 rangeavg in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/rangeavg/m-p/209062#M1208506</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thik that the problem can be that SalValue is a single value, for example, if you only have a table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;SaleVal&lt;/U&gt;&lt;/P&gt;&lt;P&gt;10,000&lt;/P&gt;&lt;P&gt;20,000&lt;/P&gt;&lt;P&gt;30,000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, the part of Sum(SalValue) will always be 60,000 (10,000+20,000+30,000).&lt;/P&gt;&lt;P&gt;So the expression is calculated like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rangeavg(above(Sum(SalValue),0,3)) = ((60,000+60,000+60,000)/3) = 60,000&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jan 2010 16:13:19 GMT</pubDate>
    <dc:creator>villafuerte</dc:creator>
    <dc:date>2010-01-18T16:13:19Z</dc:date>
    <item>
      <title>rangeavg</title>
      <link>https://community.qlik.com/t5/QlikView/rangeavg/m-p/209060#M1208504</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;Can any one explain me how this expression works. I had gone through the help but i am not able to understand. Thankful to you if some can explain here with the data and calculation here so that it is easy for newbie like me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;rangeavg(above(Sum(SalValue),0,3))&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2010 13:40:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rangeavg/m-p/209060#M1208504</guid>
      <dc:creator />
      <dc:date>2010-01-18T13:40:38Z</dc:date>
    </item>
    <item>
      <title>rangeavg</title>
      <link>https://community.qlik.com/t5/QlikView/rangeavg/m-p/209061#M1208505</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;Confirm me whether the way i understand is correct or not. Let the sales value is like below.&lt;/P&gt;&lt;P&gt;SalValue&lt;/P&gt;&lt;P&gt;10,000&lt;/P&gt;&lt;P&gt;20,000&lt;/P&gt;&lt;P&gt;30,000&lt;/P&gt;&lt;P&gt;This is the way i understand:&lt;/P&gt;&lt;P&gt;above(Sum(SalValue),0,3) = above((10,000+20,000+30,000),0,3)&lt;/P&gt;&lt;P&gt;= 60,000/3&lt;/P&gt;&lt;P&gt;= 20,000&lt;/P&gt;&lt;P&gt;Let me know whether i can understanding in the right way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2010 14:14:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rangeavg/m-p/209061#M1208505</guid>
      <dc:creator />
      <dc:date>2010-01-18T14:14:31Z</dc:date>
    </item>
    <item>
      <title>rangeavg</title>
      <link>https://community.qlik.com/t5/QlikView/rangeavg/m-p/209062#M1208506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thik that the problem can be that SalValue is a single value, for example, if you only have a table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;SaleVal&lt;/U&gt;&lt;/P&gt;&lt;P&gt;10,000&lt;/P&gt;&lt;P&gt;20,000&lt;/P&gt;&lt;P&gt;30,000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, the part of Sum(SalValue) will always be 60,000 (10,000+20,000+30,000).&lt;/P&gt;&lt;P&gt;So the expression is calculated like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rangeavg(above(Sum(SalValue),0,3)) = ((60,000+60,000+60,000)/3) = 60,000&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2010 16:13:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rangeavg/m-p/209062#M1208506</guid>
      <dc:creator>villafuerte</dc:creator>
      <dc:date>2010-01-18T16:13:19Z</dc:date>
    </item>
    <item>
      <title>rangeavg</title>
      <link>https://community.qlik.com/t5/QlikView/rangeavg/m-p/209063#M1208507</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 most important thing to understand with above is for a value of the &lt;B&gt;dimension&lt;/B&gt;, to catch previous value of the dimension. So in your example, you want to calculate for a year (dimension), the average of sales from the 3 previous year.&lt;/P&gt;&lt;P&gt;For example if you want to show an evolution in a chart you must use above&lt;/P&gt;&lt;P&gt;- dimension = year&lt;/P&gt;&lt;P&gt;- expression = sum(sales) / above( sum(sales)) - 1 =&amp;gt; % of evolution of sales from previous year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2010 18:55:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rangeavg/m-p/209063#M1208507</guid>
      <dc:creator />
      <dc:date>2010-01-18T18:55:09Z</dc:date>
    </item>
    <item>
      <title>rangeavg</title>
      <link>https://community.qlik.com/t5/QlikView/rangeavg/m-p/209064#M1208508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Villafuerte!&lt;/P&gt;&lt;P&gt;i agreed with this point&lt;/P&gt;&lt;P&gt;60,000 (10,000+20,000+30,000)&lt;/P&gt;&lt;P&gt;But i am not able to understand what that your are trying to say there&lt;/P&gt;&lt;P&gt;rangeavg(above(Sum(SalValue),0,3)) = ((60,000+60,000+60,000)/3) = 60,000&lt;/P&gt;&lt;P&gt;See the post above from Jean-Jacques Jesua. I am able to understand what he has meant. Hope that also helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 06:38:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rangeavg/m-p/209064#M1208508</guid>
      <dc:creator />
      <dc:date>2010-01-19T06:38:09Z</dc:date>
    </item>
    <item>
      <title>rangeavg</title>
      <link>https://community.qlik.com/t5/QlikView/rangeavg/m-p/209065#M1208509</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 am able to understand this part of your post:&lt;/P&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;The most important thing to understand with above is for a value of the &lt;B&gt;dimension&lt;/B&gt;, to catch previous value of the dimension. So in your example, you want to calculate for a year (dimension), the average of sales from the 3 previous year.&lt;/P&gt;&lt;P&gt;For example if you want to show an evolution in a chart you must use above&lt;/P&gt;&lt;P&gt;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/P&gt;&lt;P&gt;But I am not able to understand this part of the post:&lt;/P&gt;&lt;P&gt;For example if you want to show an evolution in a chart you must use above&lt;/P&gt;&lt;P&gt;- dimension = year&lt;/P&gt;&lt;P&gt;- expression = sum(sales) / above( sum(sales)) - 1 =&amp;gt; % of evolution of sales from previous year&lt;/P&gt;&lt;P&gt;Can explain this with some sample data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 07:01:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rangeavg/m-p/209065#M1208509</guid>
      <dc:creator />
      <dc:date>2010-01-19T07:01:10Z</dc:date>
    </item>
    <item>
      <title>rangeavg</title>
      <link>https://community.qlik.com/t5/QlikView/rangeavg/m-p/209066#M1208510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Please find an example with the use of ABOVE, where i display in a chart the evolution of the number of orders by year&lt;/P&gt;&lt;P&gt;In 2005, i have 1 order, in 2006 5 orders, so the evolution is 5/1 - 1 = +400%&lt;/P&gt;&lt;P&gt;Hope, it can help you&lt;/P&gt;&lt;P&gt;JJ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 09:42:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rangeavg/m-p/209066#M1208510</guid>
      <dc:creator />
      <dc:date>2010-01-19T09:42:13Z</dc:date>
    </item>
    <item>
      <title>rangeavg</title>
      <link>https://community.qlik.com/t5/QlikView/rangeavg/m-p/209067#M1208511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi JJ,&lt;/P&gt;&lt;P&gt;I want to do the same thing for my document also but i am not been able to write the correct expression. Hope you can help me out. My requirement is as follows.&lt;/P&gt;&lt;P&gt;I want to display in a chart the evolution of Sales value(SalValue) by month. But didn't got succeeded in the doing it. I think there is something wrong with the expression. Hope if you look into my chart you can give solution.&lt;/P&gt;&lt;P&gt;Sales Value=SalValue and Month=MonthName.&lt;/P&gt;&lt;P&gt;userid=0010012021&lt;/P&gt;&lt;P&gt;password=c2info99&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rikab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2010 14:31:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rangeavg/m-p/209067#M1208511</guid>
      <dc:creator />
      <dc:date>2010-01-21T14:31:17Z</dc:date>
    </item>
    <item>
      <title>rangeavg</title>
      <link>https://community.qlik.com/t5/QlikView/rangeavg/m-p/209068#M1208512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rikab,&lt;/P&gt;&lt;P&gt;I'm not sure to understand well.your chart looks good but it displays the evolution from month to month without take into consideration the Year, so your dimension is the sum(salvalue) for each year.&lt;/P&gt;&lt;P&gt;I think you should use monthname(Date) as expression instead of Monthname&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/674/0511.chart.jpeg"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/674/0511.chart.jpeg" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;jj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2010 20:19:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rangeavg/m-p/209068#M1208512</guid>
      <dc:creator />
      <dc:date>2010-01-21T20:19:55Z</dc:date>
    </item>
    <item>
      <title>rangeavg</title>
      <link>https://community.qlik.com/t5/QlikView/rangeavg/m-p/209069#M1208513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi JJ,&lt;/P&gt;&lt;P&gt;Sorry by mistake instead of considering the monthname(Date) I used only MonthName. Now i think is shows the correct value when i use your formula 5/1-1. By the way let me know is the right way to calculate the evoluation. Explain little bit!&lt;/P&gt;&lt;P&gt;Because i felt that this is the right formula! &lt;B&gt;((current month's sales - last month's sales)/last month's sales)x10.&lt;/B&gt; Let me know whether is correct or not.&lt;/P&gt;&lt;P&gt;Anyway thanks for your help. Hope to receive your reply soon.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2010 06:30:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rangeavg/m-p/209069#M1208513</guid>
      <dc:creator />
      <dc:date>2010-01-22T06:30:18Z</dc:date>
    </item>
    <item>
      <title>rangeavg</title>
      <link>https://community.qlik.com/t5/QlikView/rangeavg/m-p/209070#M1208515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;of course, it's the right formula for evolution &amp;amp; the same formula as you.&lt;/P&gt;&lt;P&gt;&lt;B&gt;((current month's sales - last month's sales)/last month's sales) =&lt;/B&gt; &lt;B&gt;current month's sales/ last month's sales - 1&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Why do you multiplicate by 10 (maybe you mean by 100) but you don't need, use "show in percentage (%)' in the chart properties number.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;jj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2010 09:32:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rangeavg/m-p/209070#M1208515</guid>
      <dc:creator />
      <dc:date>2010-01-22T09:32:04Z</dc:date>
    </item>
    <item>
      <title>rangeavg</title>
      <link>https://community.qlik.com/t5/QlikView/rangeavg/m-p/209071#M1208517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi JJ,&lt;/P&gt;&lt;P&gt;I agreed! Now i am able to recall my maths now. The formula is same as yours and probably yours will be easier to apply. Thanks a ton!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rikab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2010 10:45:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rangeavg/m-p/209071#M1208517</guid>
      <dc:creator />
      <dc:date>2010-01-22T10:45:22Z</dc:date>
    </item>
    <item>
      <title>rangeavg</title>
      <link>https://community.qlik.com/t5/QlikView/rangeavg/m-p/209072#M1208518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi JJ,&lt;/P&gt;&lt;P&gt;I need your help in the below post. Issue is very similar to this post. Requesting you to help me out.&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/forums/t/34086.aspx"&gt;http://community.qlik.com/forums/t/34086.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 05:18:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rangeavg/m-p/209072#M1208518</guid>
      <dc:creator />
      <dc:date>2010-09-16T05:18:26Z</dc:date>
    </item>
    <item>
      <title>rangeavg</title>
      <link>https://community.qlik.com/t5/QlikView/rangeavg/m-p/209073#M1208519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rikab,&lt;/P&gt;&lt;P&gt;It looks too tricky for me.&lt;/P&gt;&lt;P&gt;Have a look at this post : &lt;A href="http://community.qlik.com/forums/t/33689.aspx"&gt;http://community.qlik.com/forums/t/33689.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;John W suggests when you want to make comparison Y2Y to merge the current year with the previous year (of course with a lag of 12 months).&lt;/P&gt;&lt;P&gt;It should simplify the syntax in the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps you.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;jj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 20:31:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rangeavg/m-p/209073#M1208519</guid>
      <dc:creator />
      <dc:date>2010-09-16T20:31:34Z</dc:date>
    </item>
  </channel>
</rss>

