<?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: Bar chart display in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Bar-chart-display/m-p/1253161#M863932</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is no need for dimension when you have those expressions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Dec 2016 14:19:28 GMT</pubDate>
    <dc:creator>giakoum</dc:creator>
    <dc:date>2016-12-30T14:19:28Z</dc:date>
    <item>
      <title>Bar chart display</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart-display/m-p/1253152#M863923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have column called CAL_Period. The data in the column is of the of format 'YYYYMM'&lt;/P&gt;&lt;P&gt;The starting value is 199305, End value is 201612.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to show 4 bars in bar chart. 1st bar current year, 2nd for current year -1, 3rd for current year-2, 4th for current year -3. These bars should display from right to left.&lt;/P&gt;&lt;P&gt;That is , 2013, 2014, 2015, 2016&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for 2013 bar, i need to show the sum of my measure starting from 199305 to 201312&lt;/P&gt;&lt;P&gt;for 2014 bar, i need to show from 199305 to 201412&lt;/P&gt;&lt;P&gt;for 2015 bar, i need to show from 199305 to 201512&lt;/P&gt;&lt;P&gt;for 2016 bar, i need to show from 199305 to 201612&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to implement this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart-display/m-p/1253152#M863923</guid>
      <dc:creator>konidena</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart display</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart-display/m-p/1253153#M863924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you read these thread my friend?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-2380"&gt;QlikCommunity Tip: How to get answers to your post?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-16454"&gt;Uploading a Sample&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are all trying to help each other, but you need to give us enough information so that we can help you as quickly as possible &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, 30 Dec 2016 12:39:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart-display/m-p/1253153#M863924</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-30T12:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart display</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart-display/m-p/1253154#M863925</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;You should have year field in your data, use that year field as your dimension and select&lt;STRONG&gt; Full accumulation&lt;/STRONG&gt; in &lt;STRONG&gt;Expression tab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your calendar is properly mapped, You will get your desired results,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ganesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2016 13:23:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart-display/m-p/1253154#M863925</guid>
      <dc:creator>ganeshsvm</dc:creator>
      <dc:date>2016-12-30T13:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart display</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart-display/m-p/1253155#M863926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached the sample data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2016 13:27:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart-display/m-p/1253155#M863926</guid>
      <dc:creator>konidena</dc:creator>
      <dc:date>2016-12-30T13:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart display</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart-display/m-p/1253156#M863927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have cal_Year column. This column i am using as dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have issue in creating the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2016 13:32:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart-display/m-p/1253156#M863927</guid>
      <dc:creator>konidena</dc:creator>
      <dc:date>2016-12-30T13:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart display</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart-display/m-p/1253157#M863928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the easy solution : &lt;/P&gt;&lt;P&gt;create 4 expressions as follows :&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Cal_Period={"&amp;lt;=201312"}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Cal_Period={"&amp;lt;=201412"}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Cal_Period={"&amp;lt;=201512"}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Cal_Period={"&amp;lt;=201612"}&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2016 13:58:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart-display/m-p/1253157#M863928</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2016-12-30T13:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart display</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart-display/m-p/1253158#M863929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=RangeSum(Above(Sum({&amp;lt;Cal_Period&amp;gt;}Sales), 0, RowNo())) * Avg({&amp;lt;Cal_Period = {"$(='&amp;gt;=' &amp;amp; Date(AddMonths(Max(Cal_Period), -3), 'YYYYMM') &amp;amp; '&amp;lt;=' &amp;amp; Date(AddMonths(Max(Cal_Period), 0), 'YYYYMM'))"}&amp;gt;}1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/148003_Capture.PNG" style="height: 213px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2016 14:09:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart-display/m-p/1253158#M863929</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-30T14:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart display</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart-display/m-p/1253159#M863930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right and it should bring the values as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, when i take CAL_Year as my dimension, it is showing the bars for 2011, 2012 also,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to show only 2013, 2014,2015 and 2016&amp;nbsp; values related bars.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other way to restrict the year based on the expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2016 14:11:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart-display/m-p/1253159#M863930</guid>
      <dc:creator>konidena</dc:creator>
      <dc:date>2016-12-30T14:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart display</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart-display/m-p/1253160#M863931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For year, you can try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=RangeSum(Above(Sum({&amp;lt;Cal_Period, Cal_Year&amp;gt;}Sales), 0, RowNo())) * Avg({&amp;lt;Cal_Year = {"$(='&amp;gt;=' &amp;amp; (Max(Cal_Year)-3) &amp;amp; '&amp;lt;=' &amp;amp; Max(Cal_Year))"}&amp;gt;}1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/148004_Capture.PNG" style="height: 229px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2016 14:17:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart-display/m-p/1253160#M863931</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-30T14:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart display</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart-display/m-p/1253161#M863932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is no need for dimension when you have those expressions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2016 14:19:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart-display/m-p/1253161#M863932</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2016-12-30T14:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart display</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart-display/m-p/1253162#M863933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and here is a complete, no hard coded years solution&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2016 14:20:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart-display/m-p/1253162#M863933</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2016-12-30T14:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart display</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart-display/m-p/1253163#M863934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alternate solution without using complicated expression and thru backend script is,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; *,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Left&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Cal_Period&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,4)&amp;lt;=2013, 2013, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Left&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Cal_Period&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,4)) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;RYear,&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Cal_Period&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ooxml&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;embedded&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Sheet1); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Then use this RYear in your bar chart as dimension, and use sum(sales) as expression and check the &lt;STRONG&gt;Full Accumulation&lt;/STRONG&gt; option in Expression tab.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="barchartdisplay.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/148074_barchartdisplay.JPG" style="width: 620px; height: 347px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Regard,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Ganesh &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jan 2017 10:16:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart-display/m-p/1253163#M863934</guid>
      <dc:creator>ganeshsvm</dc:creator>
      <dc:date>2017-01-02T10:16:53Z</dc:date>
    </item>
  </channel>
</rss>

