<?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: Line chart showing Current and Previous Year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Line-chart-showing-Current-and-Previous-Year/m-p/563620#M477743</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this will be 'hard coding' way, tedious to maintain when years to come&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Apr 2014 07:30:40 GMT</pubDate>
    <dc:creator>n1ef5ng1</dc:creator>
    <dc:date>2014-04-11T07:30:40Z</dc:date>
    <item>
      <title>Line chart showing Current and Previous Year</title>
      <link>https://community.qlik.com/t5/QlikView/Line-chart-showing-Current-and-Previous-Year/m-p/563617#M477740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have this line chart dimension is &lt;/P&gt;&lt;P&gt;1) Month&lt;/P&gt;&lt;P&gt;2) Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the expression, I have&lt;/P&gt;&lt;P&gt;1) sum(Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like the line chart to show two line chart, current year (2014) and previous year (2013) without user to make any selection.&lt;/P&gt;&lt;P&gt;Is there anything that I can edit on the Year Dimension to show 2013 and 2014 as for this year? Current and previous year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.GIF.gif" class="jive-image" src="https://community.qlik.com/legacyfs/online/57051_Capture.GIF.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 07:23:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-chart-showing-Current-and-Previous-Year/m-p/563617#M477740</guid>
      <dc:creator>n1ef5ng1</dc:creator>
      <dc:date>2014-04-11T07:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart showing Current and Previous Year</title>
      <link>https://community.qlik.com/t5/QlikView/Line-chart-showing-Current-and-Previous-Year/m-p/563618#M477741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Dimension u can write &lt;/P&gt;&lt;P&gt;If(year&amp;gt;2012,Year)&lt;/P&gt;&lt;P&gt;Another Month as Dimension and expression as sum(Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 07:26:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-chart-showing-Current-and-Previous-Year/m-p/563618#M477741</guid>
      <dc:creator>nizamsha</dc:creator>
      <dc:date>2014-04-11T07:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart showing Current and Previous Year</title>
      <link>https://community.qlik.com/t5/QlikView/Line-chart-showing-Current-and-Previous-Year/m-p/563619#M477742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U can do this in another way if u like mean &lt;/P&gt;&lt;P&gt;Month as Dimension&lt;/P&gt;&lt;P&gt;write 2 expression one for current year and one for previous year&lt;/P&gt;&lt;P&gt;like this&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;year={"$(=Max(Year))"}&amp;gt;}Sales) for Current Year&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;year={"$(=Max(Year)-1)"}&amp;gt;}Sales)&amp;nbsp; For previous Year&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 07:29:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-chart-showing-Current-and-Previous-Year/m-p/563619#M477742</guid>
      <dc:creator>nizamsha</dc:creator>
      <dc:date>2014-04-11T07:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart showing Current and Previous Year</title>
      <link>https://community.qlik.com/t5/QlikView/Line-chart-showing-Current-and-Previous-Year/m-p/563620#M477743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this will be 'hard coding' way, tedious to maintain when years to come&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 07:30:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-chart-showing-Current-and-Previous-Year/m-p/563620#M477743</guid>
      <dc:creator>n1ef5ng1</dc:creator>
      <dc:date>2014-04-11T07:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart showing Current and Previous Year</title>
      <link>https://community.qlik.com/t5/QlikView/Line-chart-showing-Current-and-Previous-Year/m-p/563621#M477744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI, Benn.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;=if( Year&amp;gt;=Year(AddYears(today(),-1)), Year)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and &lt;STRONG&gt;Suppress When Value Is Null&lt;/STRONG&gt; Check, If you want.&lt;/P&gt;&lt;P&gt;a year later, can be sustain &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 07:33:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-chart-showing-Current-and-Previous-Year/m-p/563621#M477744</guid>
      <dc:creator />
      <dc:date>2014-04-11T07:33:32Z</dc:date>
    </item>
  </channel>
</rss>

