<?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: Chart showing previous years in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Chart-showing-previous-years/m-p/846440#M532851</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried the follwoing Expression for year -1 and year -2 and I get the same Chart as Chart1&lt;/P&gt;&lt;P&gt;for year-1:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[HWB Screen]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ={1},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;RDOKey&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={99},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ReferredYYYY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'($(=max({1}ReferredYYYY)-1))'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ActualValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Apr 2015 09:03:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-04-16T09:03:17Z</dc:date>
    <item>
      <title>Chart showing previous years</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-showing-previous-years/m-p/846439#M532850</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;Looking for help with a line chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a file with two line charts.&amp;nbsp; It is supposed to show this year V previous 2 years and target.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart 1 is doing this but the expressions are hard coded with the years.&amp;nbsp; What I really want is like Chart 2 which is working fine if 2014 is selected but when 2015 is selected because there is no data in yet for 2015 it is not showing any of the years.&amp;nbsp; So I need this to show the previous years even if there is no data in the current year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 08:52:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-showing-previous-years/m-p/846439#M532850</guid>
      <dc:creator>rcorcoran</dc:creator>
      <dc:date>2015-04-16T08:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Chart showing previous years</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-showing-previous-years/m-p/846440#M532851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried the follwoing Expression for year -1 and year -2 and I get the same Chart as Chart1&lt;/P&gt;&lt;P&gt;for year-1:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[HWB Screen]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ={1},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;RDOKey&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={99},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ReferredYYYY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'($(=max({1}ReferredYYYY)-1))'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ActualValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 09:03:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-showing-previous-years/m-p/846440#M532851</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-16T09:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Chart showing previous years</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-showing-previous-years/m-p/846441#M532852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Label&lt;/P&gt;&lt;P&gt;=Max(ReferredYYYY)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;=Sum({1&amp;lt;[HWB Screen] ={1},RDOKey={99},ReferredYYYY={'$(=Max(ReferredYYYY))'}&amp;nbsp; &amp;gt;}ActualValue) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Label&lt;/P&gt;&lt;P&gt;=Max(ReferredYYYY)-1&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;=Sum({1&amp;lt;[HWB Screen] ={1},RDOKey={99},ReferredYYYY={'$(=Max(ReferredYYYY)-1)'}&amp;gt;}ActualValue) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Label&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;=Max(ReferredYYYY)-2&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Expression&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;=Sum({1&amp;lt;[HWB Screen] ={1},RDOKey={99},ReferredYYYY={'$(=Max(ReferredYYYY)-2)'}&amp;gt;}ActualValue) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 09:07:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-showing-previous-years/m-p/846441#M532852</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-04-16T09:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: Chart showing previous years</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-showing-previous-years/m-p/846442#M532853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much Manish that works perfectly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 09:13:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-showing-previous-years/m-p/846442#M532853</guid>
      <dc:creator>rcorcoran</dc:creator>
      <dc:date>2015-04-16T09:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: Chart showing previous years</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-showing-previous-years/m-p/846443#M532854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks both of you for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 09:13:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-showing-previous-years/m-p/846443#M532854</guid>
      <dc:creator>rcorcoran</dc:creator>
      <dc:date>2015-04-16T09:13:13Z</dc:date>
    </item>
  </channel>
</rss>

