<?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: Referencing Prior year against current year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Referencing-Prior-year-against-current-year/m-p/895907#M311813</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look and see if this is what you are trying to achieve? PFA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Apr 2015 13:42:17 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-04-23T13:42:17Z</dc:date>
    <item>
      <title>Referencing Prior year against current year</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-Prior-year-against-current-year/m-p/895904#M311810</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;Bit of a tricky one to explain but I have a chart with 3 expressions - revenue, (historic), budget (historic and future), Forecast (future) all against a single Year-week dimension e.g. 2014-01, 2014-02 etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look looks perfect with a bar chart for&amp;nbsp; budget, and two lines for revenue and forecast.&amp;nbsp; The problem now we need to have a year on year comparison in the middle of the graph. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I get my chart to show Jan 2014 against Jan 2015?&amp;nbsp; In the pic below, red is budget, blue is revenue, green is forecast and black is the new line I want - 2014 revenue - but above 2015 dates&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/84699_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 13:18:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-Prior-year-against-current-year/m-p/895904#M311810</guid>
      <dc:creator>paulm</dc:creator>
      <dc:date>2015-04-23T13:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing Prior year against current year</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-Prior-year-against-current-year/m-p/895905#M311811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will have to use &lt;STRONG&gt;Above&lt;/STRONG&gt; function to achieve what you are trying to do. If there is a sample you can share, it would be easier to show then to explain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 13:22:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-Prior-year-against-current-year/m-p/895905#M311811</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-23T13:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing Prior year against current year</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-Prior-year-against-current-year/m-p/895906#M311812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunindia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is an example of what I have.&amp;nbsp; I am looking for another line referencing the 2014 data, but it needs to show against 2015 like in the picture above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 13:35:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-Prior-year-against-current-year/m-p/895906#M311812</guid>
      <dc:creator>paulm</dc:creator>
      <dc:date>2015-04-23T13:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing Prior year against current year</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-Prior-year-against-current-year/m-p/895907#M311813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look and see if this is what you are trying to achieve? PFA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 13:42:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-Prior-year-against-current-year/m-p/895907#M311813</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-23T13:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing Prior year against current year</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-Prior-year-against-current-year/m-p/895908#M311814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add a Year field and Week field during the load and then use these expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum({&amp;lt;Year = {'$(=Max(Year))'}&amp;gt;} Budget)&amp;nbsp; // for current/selected&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;year&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum({&amp;lt;Year = {'$(=Max(Year) - 1)'}&amp;gt;} Budget)&amp;nbsp; // for prior year&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Use Week for the dimension.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;HTH&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Jonathan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 13:44:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-Prior-year-against-current-year/m-p/895908#M311814</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-04-23T13:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing Prior year against current year</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-Prior-year-against-current-year/m-p/895909#M311815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is your chart in a straight table form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Straight Table.PNG" class="jive-image image-1" src="/legacyfs/online/84706_Straight Table.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 13:44:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-Prior-year-against-current-year/m-p/895909#M311815</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-23T13:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing Prior year against current year</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-Prior-year-against-current-year/m-p/895910#M311816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunindia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically perfect - one question though&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. When the user selects a single week, the previous year still shows for the full year.&amp;nbsp; Any idea how to limit it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 14:00:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-Prior-year-against-current-year/m-p/895910#M311816</guid>
      <dc:creator>paulm</dc:creator>
      <dc:date>2015-04-23T14:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing Prior year against current year</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-Prior-year-against-current-year/m-p/895911#M311817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cheers for the reply Jonathan - the business needs a rolling 12/24 months so taking the year out is not feasible this time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 14:01:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-Prior-year-against-current-year/m-p/895911#M311817</guid>
      <dc:creator>paulm</dc:creator>
      <dc:date>2015-04-23T14:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing Prior year against current year</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-Prior-year-against-current-year/m-p/895912#M311818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This expression will work if they only select one week. Is there a possibility that they may select multiple weeks as well??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(GetSelectedCount([week Year]) &amp;lt;&amp;gt; 1, Above(sum({&amp;lt;[week Year] = &amp;gt;}Revenue), 52), &lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;Above(sum({&amp;lt;[week Year] = {"$(=Num((Left([week Year], 4) - 1) &amp;amp; (Right([week Year], 2))))"}&amp;gt;}Revenue), 52))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 14:13:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-Prior-year-against-current-year/m-p/895912#M311818</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-23T14:13:22Z</dc:date>
    </item>
  </channel>
</rss>

