<?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 Last 8 weeks last year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Last-8-weeks-last-year/m-p/1080262#M360006</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;I have a line graph showing the last 8 weeks of revenue, using the dimension &lt;STRONG&gt;=date(aggr(if(Rank([Week])&amp;lt;=8,[Week]),[Week]),'D MMM')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I show the same last 8 weeks but from last year on a line chart?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jan 2016 09:32:53 GMT</pubDate>
    <dc:creator>sifatnabil</dc:creator>
    <dc:date>2016-01-13T09:32:53Z</dc:date>
    <item>
      <title>Last 8 weeks last year</title>
      <link>https://community.qlik.com/t5/QlikView/Last-8-weeks-last-year/m-p/1080262#M360006</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;I have a line graph showing the last 8 weeks of revenue, using the dimension &lt;STRONG&gt;=date(aggr(if(Rank([Week])&amp;lt;=8,[Week]),[Week]),'D MMM')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I show the same last 8 weeks but from last year on a line chart?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 09:32:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-8-weeks-last-year/m-p/1080262#M360006</guid>
      <dc:creator>sifatnabil</dc:creator>
      <dc:date>2016-01-13T09:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Last 8 weeks last year</title>
      <link>https://community.qlik.com/t5/QlikView/Last-8-weeks-last-year/m-p/1080263#M360007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let VLastyear=max(YearField)-1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take this as Dim &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=date(aggr(if(Rank([Week])&amp;lt;=8,[Week]),[Week]),'D MMM')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&amp;nbsp; &lt;STRONG&gt;=sum({&amp;lt;YearField={'=$(=&lt;SPAN style="font-size: 13.3333px;"&gt;VLastyear&lt;/SPAN&gt;'}&amp;gt;} sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 09:39:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-8-weeks-last-year/m-p/1080263#M360007</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-13T09:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: Last 8 weeks last year</title>
      <link>https://community.qlik.com/t5/QlikView/Last-8-weeks-last-year/m-p/1080264#M360008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please check &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-9144"&gt;Set Analysis for Rolling Periods&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 09:40:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-8-weeks-last-year/m-p/1080264#M360008</guid>
      <dc:creator>prma7799</dc:creator>
      <dc:date>2016-01-13T09:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Last 8 weeks last year</title>
      <link>https://community.qlik.com/t5/QlikView/Last-8-weeks-last-year/m-p/1080265#M360009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, that doesn't seem to work. It returns the same revenue as sum(Revenue).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 10:03:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-8-weeks-last-year/m-p/1080265#M360009</guid>
      <dc:creator>sifatnabil</dc:creator>
      <dc:date>2016-01-13T10:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Last 8 weeks last year</title>
      <link>https://community.qlik.com/t5/QlikView/Last-8-weeks-last-year/m-p/1080266#M360010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found a way to get this by using addyears():&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dimension:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;date([Week],'D MMM')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;OR more accurate: Fiscal Week Number&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;expression (for this year last 8 weeks) -&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({&amp;lt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Date={'&amp;gt;=$(=WeekStart(Max(Date), -7))&amp;lt;=$(=Date(Max(Date)))'}&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;gt;} Revenue)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;expression (for last year last 8 weeks) -&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({&amp;lt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Date={'&amp;gt;=$(=WeekStart(addyears(Max(Date),-1), -7))&amp;lt;=$(=Date(addyears(Max(Date),-1)))'}&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;gt;} Revenue)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 17:30:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-8-weeks-last-year/m-p/1080266#M360010</guid>
      <dc:creator>sifatnabil</dc:creator>
      <dc:date>2016-01-13T17:30:21Z</dc:date>
    </item>
  </channel>
</rss>

