<?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 Comparing years when year is a dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparing-years-when-year-is-a-dimension/m-p/282220#M104906</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks very much I had not known about the Above/Below/Before/After but this was exactly what I was looking for!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jan 2012 15:01:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-01-17T15:01:29Z</dc:date>
    <item>
      <title>Comparing years when year is a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-years-when-year-is-a-dimension/m-p/282218#M104904</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;BR /&gt;I wondered if anyone had an expression based solution to the following problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I have sales data and I want to do a table that has Transaction_Year as the dimension (e.g. 2008, 2009, 2010, 2011) and I want to display the following two expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; - Sum(Sales) by year (simple.)&lt;/P&gt;&lt;P&gt;&amp;nbsp; - Sum(Sales) for the year prior to the year of the current dimension.&amp;nbsp; So in the 2011 column, I would have the Sum(Sales) for 2010.&amp;nbsp; This would allow me to develop the formula to do a % change in the same table as the year exists as a dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to achieve this without using an independent table and IF statements which is very inefficient for large data sets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2012 11:58:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-years-when-year-is-a-dimension/m-p/282218#M104904</guid>
      <dc:creator />
      <dc:date>2012-01-17T11:58:05Z</dc:date>
    </item>
    <item>
      <title>Comparing years when year is a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-years-when-year-is-a-dimension/m-p/282219#M104905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can&lt;/P&gt;&lt;P&gt;- pre-calculate&lt;/P&gt;&lt;P&gt;- use Chart Inter Record functions Above/Below/Before/After but they have restrictions&lt;/P&gt;&lt;P&gt;- use If (sorry)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can't&lt;/P&gt;&lt;P&gt;- use a dynamic Set Analysis&lt;/P&gt;&lt;DIV class="mcePaste" id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;"&gt;&lt;H1&gt;&lt;A name="kanchor311"&gt;&lt;/A&gt;Chart Inter Record functions&lt;/H1&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2012 13:49:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-years-when-year-is-a-dimension/m-p/282219#M104905</guid>
      <dc:creator>nstefaniuk</dc:creator>
      <dc:date>2012-01-17T13:49:52Z</dc:date>
    </item>
    <item>
      <title>Comparing years when year is a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-years-when-year-is-a-dimension/m-p/282220#M104906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks very much I had not known about the Above/Below/Before/After but this was exactly what I was looking for!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2012 15:01:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-years-when-year-is-a-dimension/m-p/282220#M104906</guid>
      <dc:creator />
      <dc:date>2012-01-17T15:01:29Z</dc:date>
    </item>
  </channel>
</rss>

