<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/312484#M1181853</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a bar chart that has to display two years on the X-axis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;quot;Current selected Year&amp;amp;quot; and ﻿﻿﻿﻿&amp;amp;quot;Current selected year minus 1&amp;amp;quot;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the Y axis there is a count like say count of Policies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose the user selects 2005 then the count of policies to be displayed is from jan 2005 until today. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two years have to be displayed here 2005 and 2005 minus 1 i.e. 2004&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However since the dimesntion I add is the Year insead of two years there will be multiple bars displayed correcponding to all teh years from 2004/2005 until today with the count contribution for each year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone please suggest how i would be able to achieve something like that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Rajesh Vaswani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Dec 2011 17:33:22 GMT</pubDate>
    <dc:creator>rajeshvaswani77</dc:creator>
    <dc:date>2011-12-19T17:33:22Z</dc:date>
    <item>
      <title>Bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/312484#M1181853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a bar chart that has to display two years on the X-axis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;quot;Current selected Year&amp;amp;quot; and ﻿﻿﻿﻿&amp;amp;quot;Current selected year minus 1&amp;amp;quot;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the Y axis there is a count like say count of Policies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose the user selects 2005 then the count of policies to be displayed is from jan 2005 until today. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two years have to be displayed here 2005 and 2005 minus 1 i.e. 2004&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However since the dimesntion I add is the Year insead of two years there will be multiple bars displayed correcponding to all teh years from 2004/2005 until today with the count contribution for each year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone please suggest how i would be able to achieve something like that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Rajesh Vaswani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2011 17:33:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/312484#M1181853</guid>
      <dc:creator>rajeshvaswani77</dc:creator>
      <dc:date>2011-12-19T17:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/312485#M1181854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your years are numbers, maybe this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;count({&amp;lt;Year={"&amp;gt;$(=max(Year)-2)"}&amp;gt;} Policy)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If dates formatted as YYYY, maybe this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;count({&amp;lt;Year={"&amp;gt;$(=date(addmonths(max(Year),-24),'YYYY'))"}&amp;gt;} Policy)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2011 19:21:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart/m-p/312485#M1181854</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-12-19T19:21:01Z</dc:date>
    </item>
  </channel>
</rss>

