<?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: This year/ Last Year comparison - Over different periods in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/This-year-Last-Year-comparison-Over-different-periods/m-p/1109575#M893507</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you be able to provide sample app to look into this with greater detail?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Aug 2016 15:30:09 GMT</pubDate>
    <dc:creator>-SW-</dc:creator>
    <dc:date>2016-08-15T15:30:09Z</dc:date>
    <item>
      <title>This year/ Last Year comparison - Over different periods</title>
      <link>https://community.qlik.com/t5/QlikView/This-year-Last-Year-comparison-Over-different-periods/m-p/1109574#M893506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having an issue with This Year/Last Year comparison of sales.&amp;nbsp; Usually if we are getting the Last Year figure for year on year our set analysis would just be "SUM({$&amp;lt;year={$(#=Only(year)-1)}&amp;gt;} [sales-value] - [Disc amount])" which works fine but because I am rolling across years (week 50, 2015 - week4, 2016 see image below) the formula does not work for the Last Year figure as it previously did.&amp;nbsp; I have tried alternatives but to no avail and was wondering if anyone can think of how I can fix this? Any help on this would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="SalesComp.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/134571_SalesComp.PNG" style="height: 146px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brian&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/This-year-Last-Year-comparison-Over-different-periods/m-p/1109574#M893506</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: This year/ Last Year comparison - Over different periods</title>
      <link>https://community.qlik.com/t5/QlikView/This-year-Last-Year-comparison-Over-different-periods/m-p/1109575#M893507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you be able to provide sample app to look into this with greater detail?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2016 15:30:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/This-year-Last-Year-comparison-Over-different-periods/m-p/1109575#M893507</guid>
      <dc:creator>-SW-</dc:creator>
      <dc:date>2016-08-15T15:30:09Z</dc:date>
    </item>
  </channel>
</rss>

