<?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 Tricky Average! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Tricky-Average/m-p/1268963#M399384</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to do some enhancement to the solution I mentioned here:&lt;A href="https://community.qlik.com/thread/254190"&gt;Simple Average Problem&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now have extra data which is now concatenated to the same table in the Simple Average Problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="tab7.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/157274_tab7.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Showing the average against ID was easy but I now want to be able to show last three date sale average against Service Order, Service Name and Future Dates. Is this possible? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The resultant straight table should look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="tab9.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/157276_tab9.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm attached the data and the app if anyone wants to give it a try. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Mar 2017 14:04:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-03-23T14:04:11Z</dc:date>
    <item>
      <title>Tricky Average!</title>
      <link>https://community.qlik.com/t5/QlikView/Tricky-Average/m-p/1268963#M399384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to do some enhancement to the solution I mentioned here:&lt;A href="https://community.qlik.com/thread/254190"&gt;Simple Average Problem&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now have extra data which is now concatenated to the same table in the Simple Average Problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="tab7.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/157274_tab7.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Showing the average against ID was easy but I now want to be able to show last three date sale average against Service Order, Service Name and Future Dates. Is this possible? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The resultant straight table should look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="tab9.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/157276_tab9.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm attached the data and the app if anyone wants to give it a try. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2017 14:04:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tricky-Average/m-p/1268963#M399384</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-23T14:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: Tricky Average!</title>
      <link>https://community.qlik.com/t5/QlikView/Tricky-Average/m-p/1268964#M399385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(Avg(TOTAL &amp;lt;ID&amp;gt; Aggr(If(Rank(Date) &amp;lt; 4, Sale), ID, Date)) , ID, ServiceOrder, FutureDates)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/157295_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2017 14:36:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tricky-Average/m-p/1268964#M399385</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-23T14:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Tricky Average!</title>
      <link>https://community.qlik.com/t5/QlikView/Tricky-Average/m-p/1268965#M399386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Sunny thanks for your help. This is exactly what I wanted. The only thing is that as soon as I make a selection, all calculations disappear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="tab10.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/157313_tab10.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to be able to make service order selection and be able to see the relevant calculations as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2017 15:26:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tricky-Average/m-p/1268965#M399386</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-23T15:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: Tricky Average!</title>
      <link>https://community.qlik.com/t5/QlikView/Tricky-Average/m-p/1268966#M399387</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;STRONG&gt;=Aggr(Avg({&amp;lt;ServiceOrder&amp;gt;}TOTAL &amp;lt;ID&amp;gt; Aggr(If(Rank(Only({&amp;lt;ServiceOrder&amp;gt;}Date)) &amp;lt; 4, Only({&amp;lt;ServiceOrder&amp;gt;}Sale)), ID, Date)) , ID, ServiceOrder, FutureDates)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2017 15:28:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tricky-Average/m-p/1268966#M399387</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-23T15:28:46Z</dc:date>
    </item>
  </channel>
</rss>

