<?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: Compare Weekly Average with Previous Weeks Weekly average in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Compare-Weekly-Average-with-Previous-Weeks-Weekly-average/m-p/925127#M969540</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many Thanks for this, unfortunately it does not return a value.&lt;/P&gt;&lt;P&gt;I do have a field called Period and week numbers increase by 1 each week.&lt;/P&gt;&lt;P&gt;(Period has replaced month)&lt;/P&gt;&lt;P&gt;Any further help would be appreciated&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Oct 2015 09:04:58 GMT</pubDate>
    <dc:creator>countwise</dc:creator>
    <dc:date>2015-10-23T09:04:58Z</dc:date>
    <item>
      <title>Compare Weekly Average with Previous Weeks Weekly average</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-Weekly-Average-with-Previous-Weeks-Weekly-average/m-p/925125#M969538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am new to Qlik and could do with some help. I have an expression that that returns a Weekly average for a selected period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Avg(Aggr(Sum(if([SensorFunction]='Mall Entrance',[Traffic], Null())),Week)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to be able to show the weekly average for the previous week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be gratefully received&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 14:27:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-Weekly-Average-with-Previous-Weeks-Weekly-average/m-p/925125#M969538</guid>
      <dc:creator>countwise</dc:creator>
      <dc:date>2015-09-23T14:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Compare Weekly Average with Previous Weeks Weekly average</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-Weekly-Average-with-Previous-Weeks-Weekly-average/m-p/925126#M969539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Maybe like this:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Avg({&amp;lt;Period=,Week={'$(=Max(Week)-1))'}&amp;gt;}Aggr(Sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Period=,Week={'$(=Max(Week)-1))'},&lt;/SPAN&gt;[SensorFunction]={'Mall Entrance'}&amp;gt;}[Traffic]),Week))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I don't know if you have a field called Period and I don't know either if your Week field contains numbers that increase by 1 for each month. You may have to adjust things accordingly.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2015 09:38:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-Weekly-Average-with-Previous-Weeks-Weekly-average/m-p/925126#M969539</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-10-22T09:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Compare Weekly Average with Previous Weeks Weekly average</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-Weekly-Average-with-Previous-Weeks-Weekly-average/m-p/925127#M969540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many Thanks for this, unfortunately it does not return a value.&lt;/P&gt;&lt;P&gt;I do have a field called Period and week numbers increase by 1 each week.&lt;/P&gt;&lt;P&gt;(Period has replaced month)&lt;/P&gt;&lt;P&gt;Any further help would be appreciated&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 09:04:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-Weekly-Average-with-Previous-Weeks-Weekly-average/m-p/925127#M969540</guid>
      <dc:creator>countwise</dc:creator>
      <dc:date>2015-10-23T09:04:58Z</dc:date>
    </item>
  </channel>
</rss>

