<?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 Bar chart (interview qstn) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Bar-chart-interview-qstn/m-p/700321#M1063102</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I face done interview Question on Bar Chart. I am unable to solve that question please help me.&lt;/P&gt;&lt;P&gt;The Question is:&lt;/P&gt;&lt;P&gt;1) How to display the current selected year data and at the same time the next 5 years data on bar chart ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EX:&amp;nbsp; I have 50 years of date like 1960 to 2010 . Then i select 2005 year then i go to display 2005 ,2006,2007,2008,2009,2010 data.&lt;/P&gt;&lt;P&gt;How it is ?how to display the only 5 years data in the bar chart. any expressions is there please conclude me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Sep 2014 04:45:05 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-09-26T04:45:05Z</dc:date>
    <item>
      <title>Bar chart (interview qstn)</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart-interview-qstn/m-p/700321#M1063102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I face done interview Question on Bar Chart. I am unable to solve that question please help me.&lt;/P&gt;&lt;P&gt;The Question is:&lt;/P&gt;&lt;P&gt;1) How to display the current selected year data and at the same time the next 5 years data on bar chart ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EX:&amp;nbsp; I have 50 years of date like 1960 to 2010 . Then i select 2005 year then i go to display 2005 ,2006,2007,2008,2009,2010 data.&lt;/P&gt;&lt;P&gt;How it is ?how to display the only 5 years data in the bar chart. any expressions is there please conclude me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 04:45:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart-interview-qstn/m-p/700321#M1063102</guid>
      <dc:creator />
      <dc:date>2014-09-26T04:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart (interview qstn)</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart-interview-qstn/m-p/700322#M1063103</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;Use Year as dimension,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression become&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;DateField={"&amp;gt;=$(=Date(max(DateField)))&amp;lt;=$(=Date(AddYears(max(DateField),5)))"}&amp;gt;}sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 04:51:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart-interview-qstn/m-p/700322#M1063103</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-09-26T04:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart (interview qstn)</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart-interview-qstn/m-p/700323#M1063104</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;It is easy, Try below expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Year={"&amp;gt;= $(=Max(Year)) &amp;lt;= $(=Max(Year)+5)"}&amp;gt;}value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Sushil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 04:52:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart-interview-qstn/m-p/700323#M1063104</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2014-09-26T04:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart (interview qstn)</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart-interview-qstn/m-p/700324#M1063105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see the attched&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;might helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 05:06:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart-interview-qstn/m-p/700324#M1063105</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2014-09-26T05:06:30Z</dc:date>
    </item>
  </channel>
</rss>

