<?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 Display comparative data for this time last year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Display-comparative-data-for-this-time-last-year/m-p/480905#M179714</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;I've done a lot of reading about how to bring previous year's data into a column for comparison against current year data.&amp;nbsp;&amp;nbsp; I've explored the use of variables within SET ANALYSIS but am not getting reliable results.&amp;nbsp; mostly I get 0 or NULL fill.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The attached example has 2012-13 and 2013-14 Financial Year data.&amp;nbsp; in Australia our Financial year starts in July and ends in June.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I simply want to display the sum of a field for the currently selected year (ie: 2013-14), then have the previous year field display the same time period (days and months) for the previous year (ie 2012-13).&amp;nbsp; I can achieve this by hard coding '2012-13' into the SET ANALYSIS but that is very restrictive - and not in the true spirit of QV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've explored using variables to calculate currentdate - 365 but this only produces results where a single day is selected.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone has the time to take a look and make some recommendations it would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Oct 2013 22:46:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-10-16T22:46:17Z</dc:date>
    <item>
      <title>Display comparative data for this time last year</title>
      <link>https://community.qlik.com/t5/QlikView/Display-comparative-data-for-this-time-last-year/m-p/480905#M179714</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;I've done a lot of reading about how to bring previous year's data into a column for comparison against current year data.&amp;nbsp;&amp;nbsp; I've explored the use of variables within SET ANALYSIS but am not getting reliable results.&amp;nbsp; mostly I get 0 or NULL fill.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The attached example has 2012-13 and 2013-14 Financial Year data.&amp;nbsp; in Australia our Financial year starts in July and ends in June.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I simply want to display the sum of a field for the currently selected year (ie: 2013-14), then have the previous year field display the same time period (days and months) for the previous year (ie 2012-13).&amp;nbsp; I can achieve this by hard coding '2012-13' into the SET ANALYSIS but that is very restrictive - and not in the true spirit of QV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've explored using variables to calculate currentdate - 365 but this only produces results where a single day is selected.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone has the time to take a look and make some recommendations it would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 22:46:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-comparative-data-for-this-time-last-year/m-p/480905#M179714</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-16T22:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Display comparative data for this time last year</title>
      <link>https://community.qlik.com/t5/QlikView/Display-comparative-data-for-this-time-last-year/m-p/480906#M179715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;The set analysis that you are looking for is below&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;SUM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TASPriceWeightSameDayFlag&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Overnight'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AcuteSubacuteFlag&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Acute'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FinancialYear&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'$(=MaxString(PreviousFinancialYear))'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TASPriceWeight&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Gowri Shankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2013 06:05:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-comparative-data-for-this-time-last-year/m-p/480906#M179715</guid>
      <dc:creator />
      <dc:date>2013-10-17T06:05:15Z</dc:date>
    </item>
  </channel>
</rss>

