<?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: avg Last value per client in the selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/avg-Last-value-per-client-in-the-selection/m-p/779951#M276396</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;avg(aggr(firstsortedvalue(value,-date),Client))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Jan 2015 12:25:55 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2015-01-13T12:25:55Z</dc:date>
    <item>
      <title>avg Last value per client in the selection</title>
      <link>https://community.qlik.com/t5/QlikView/avg-Last-value-per-client-in-the-selection/m-p/779950#M276395</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;how can i get the average of the latest value per client per selection?&lt;/P&gt;&lt;P&gt;In the case below the value will be&lt;SPAN style="font-size: 14pt;"&gt; &lt;STRONG&gt;3,333&lt;/STRONG&gt;&lt;/SPAN&gt; if I have the selection: feb 2014&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" 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="width: 229px; border-collapse: collapse;"&gt;&lt;TBODY&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl65" height="17" style="width: 48pt; height: 12.75pt; background-color: transparent;" width="64"&gt;Client&lt;/TD&gt;&lt;TD class="xl65" style="width: 53pt; background-color: transparent;" width="71"&gt;date&lt;/TD&gt;&lt;TD class="xl65" style="width: 48pt; background-color: transparent;" width="64"&gt;value&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl65" height="17" style="height: 12.75pt; background-color: transparent;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl66" style="background-color: transparent;"&gt;2014-01-01&lt;/TD&gt;&lt;TD align="right" class="xl65" style="background-color: transparent;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl65" height="17" style="height: 12.75pt; background-color: transparent;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl66" style="background-color: transparent;"&gt;2014-02-01&lt;/TD&gt;&lt;TD align="right" class="xl65" style="background-color: transparent;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl67" height="17" style="height: 12.75pt; background-color: yellow;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl68" style="background-color: yellow;"&gt;2014-02-15&lt;/TD&gt;&lt;TD align="right" class="xl67" style="background-color: yellow;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl65" height="17" style="height: 12.75pt; background-color: transparent;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl66" style="background-color: transparent;"&gt;2014-03-08&lt;/TD&gt;&lt;TD align="right" class="xl65" style="background-color: transparent;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl65" height="17" style="height: 12.75pt; background-color: transparent;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl66" style="background-color: transparent;"&gt;2014-09-01&lt;/TD&gt;&lt;TD align="right" class="xl65" style="background-color: transparent;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl65" height="17" style="height: 12.75pt; background-color: transparent;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl66" style="background-color: transparent;"&gt;2014-10-10&lt;/TD&gt;&lt;TD align="right" class="xl65" style="background-color: transparent;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl65" height="17" style="height: 12.75pt; background-color: transparent;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl66" style="background-color: transparent;"&gt;2014-01-01&lt;/TD&gt;&lt;TD align="right" class="xl65" style="background-color: transparent;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl65" height="17" style="height: 12.75pt; background-color: transparent;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl66" style="background-color: transparent;"&gt;2014-02-01&lt;/TD&gt;&lt;TD align="right" class="xl65" style="background-color: transparent;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl67" height="17" style="height: 12.75pt; background-color: yellow;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl68" style="background-color: yellow;"&gt;2014-02-15&lt;/TD&gt;&lt;TD align="right" class="xl67" style="background-color: yellow;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl65" height="17" style="height: 12.75pt; background-color: transparent;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl66" style="background-color: transparent;"&gt;2014-03-08&lt;/TD&gt;&lt;TD align="right" class="xl65" style="background-color: transparent;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl65" height="17" style="height: 12.75pt; background-color: transparent;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl66" style="background-color: transparent;"&gt;2014-09-01&lt;/TD&gt;&lt;TD align="right" class="xl65" style="background-color: transparent;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl65" height="17" style="height: 12.75pt; background-color: transparent;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl66" style="background-color: transparent;"&gt;2014-10-10&lt;/TD&gt;&lt;TD align="right" class="xl65" style="background-color: transparent;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl65" height="17" style="height: 12.75pt; background-color: transparent;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl66" style="background-color: transparent;"&gt;2014-09-01&lt;/TD&gt;&lt;TD align="right" class="xl65" style="background-color: transparent;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl65" height="17" style="height: 12.75pt; background-color: transparent;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl66" style="background-color: transparent;"&gt;2014-10-10&lt;/TD&gt;&lt;TD align="right" class="xl65" style="background-color: transparent;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl67" height="17" style="height: 12.75pt; background-color: yellow;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl68" style="background-color: yellow;"&gt;2014-02-08&lt;/TD&gt;&lt;TD align="right" class="xl67" style="background-color: yellow;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl65" height="17" style="height: 12.75pt; background-color: transparent;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl66" style="background-color: transparent;"&gt;2014-09-01&lt;/TD&gt;&lt;TD align="right" class="xl65" style="background-color: transparent;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl65" height="17" style="height: 12.75pt; background-color: transparent;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl66" style="background-color: transparent;"&gt;2014-10-10&lt;/TD&gt;&lt;TD align="right" class="xl65" style="background-color: transparent;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl65" height="17" style="height: 12.75pt; background-color: transparent;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl66" style="background-color: transparent;"&gt;2014-09-01&lt;/TD&gt;&lt;TD align="right" class="xl65" style="background-color: transparent;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl65" height="17" style="height: 12.75pt; background-color: transparent;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl66" style="background-color: transparent;"&gt;2014-10-10&lt;/TD&gt;&lt;TD align="right" class="xl65" style="background-color: transparent;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 11:55:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/avg-Last-value-per-client-in-the-selection/m-p/779950#M276395</guid>
      <dc:creator />
      <dc:date>2015-01-13T11:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: avg Last value per client in the selection</title>
      <link>https://community.qlik.com/t5/QlikView/avg-Last-value-per-client-in-the-selection/m-p/779951#M276396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;avg(aggr(firstsortedvalue(value,-date),Client))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 12:25:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/avg-Last-value-per-client-in-the-selection/m-p/779951#M276396</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-01-13T12:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: avg Last value per client in the selection</title>
      <link>https://community.qlik.com/t5/QlikView/avg-Last-value-per-client-in-the-selection/m-p/779952#M276397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Gysbert! It solved the problem!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 12:37:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/avg-Last-value-per-client-in-the-selection/m-p/779952#M276397</guid>
      <dc:creator />
      <dc:date>2015-01-13T12:37:28Z</dc:date>
    </item>
  </channel>
</rss>

