<?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: Weighted Average of Rows? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Weighted-Average-of-Rows/m-p/1239383#M855360</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brain,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Copy this expression to change% - ((column(1)-column(2))/column(2))*100&lt;/P&gt;&lt;P&gt;and change total mode in expressions tab for this expression to 'kutosis'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Feb 2017 20:14:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-02-08T20:14:00Z</dc:date>
    <item>
      <title>Weighted Average of Rows?</title>
      <link>https://community.qlik.com/t5/QlikView/Weighted-Average-of-Rows/m-p/1239381#M855358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see below and attached. I'm trying to show the year over year Change % in sales of the Top 10 customers. The values are correct per customer line, but what's needed on the total line is the Change %&amp;nbsp; in total sales. Neither Expression Total nor Average of Rows gives me what I need. The best I can get is an equally weighted average of the ten Change %'s shown, when in fact I need a weighted average -- or, alternately, the expression applied at the total line level. Do you see a way to get this? Thanks.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="avg of totals.png" class="jive-image image-1" src="/legacyfs/online/152501_avg of totals.png" style="width: 620px; height: 191px;" /&gt; !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weighted-Average-of-Rows/m-p/1239381#M855358</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Weighted Average of Rows?</title>
      <link>https://community.qlik.com/t5/QlikView/Weighted-Average-of-Rows/m-p/1239382#M855359</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;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({$&amp;lt;Year={$(=Only(Year))}, Customer = {"=Rank(Sum({$&amp;lt;Year={$(=Only(Year))}&amp;gt;} Sales)) &amp;lt; 11"}&amp;gt;} Sales)/Sum({$&amp;lt;Year={$(=Only(Year) - 1)}, Customer = {"=Rank(Sum({$&amp;lt;Year={$(=Only(Year))}&amp;gt;} Sales)) &amp;lt; 11"}&amp;gt;} Sales) - 1&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2017 19:47:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weighted-Average-of-Rows/m-p/1239382#M855359</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-08T19:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Weighted Average of Rows?</title>
      <link>https://community.qlik.com/t5/QlikView/Weighted-Average-of-Rows/m-p/1239383#M855360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brain,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Copy this expression to change% - ((column(1)-column(2))/column(2))*100&lt;/P&gt;&lt;P&gt;and change total mode in expressions tab for this expression to 'kutosis'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2017 20:14:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weighted-Average-of-Rows/m-p/1239383#M855360</guid>
      <dc:creator />
      <dc:date>2017-02-08T20:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Weighted Average of Rows?</title>
      <link>https://community.qlik.com/t5/QlikView/Weighted-Average-of-Rows/m-p/1239384#M855361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. That sort of works. The total percent is correct to some power of 10, but the expression * 1000 messes up the percentages. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2017 21:00:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weighted-Average-of-Rows/m-p/1239384#M855361</guid>
      <dc:creator />
      <dc:date>2017-02-08T21:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Weighted Average of Rows?</title>
      <link>https://community.qlik.com/t5/QlikView/Weighted-Average-of-Rows/m-p/1239385#M855362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's really messy, but it seems to work and not impact performance. So thanks! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2017 21:01:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weighted-Average-of-Rows/m-p/1239385#M855362</guid>
      <dc:creator />
      <dc:date>2017-02-08T21:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Weighted Average of Rows?</title>
      <link>https://community.qlik.com/t5/QlikView/Weighted-Average-of-Rows/m-p/1239386#M855363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; you have dimension limits which are causing issue.... I passed those limits to your expression via set analysis. Calculate this percentage for only those customers who have &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Rank(Sum({$&amp;lt;Year={$(=Only(Year))}&amp;gt;} Sales)) &amp;lt; 11&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you got what you wanted, I would suggest you to close this thread by marking correct and helpful responses.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-14806"&gt;Qlik Community Tip: Marking Replies as Correct or Helpful&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2017 22:41:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weighted-Average-of-Rows/m-p/1239386#M855363</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-08T22:41:43Z</dc:date>
    </item>
  </channel>
</rss>

