<?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 Difference in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Bar-Chart-Difference/m-p/260460#M98260</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 the following bar chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Y axis I have the amount of money spent.&lt;/P&gt;&lt;P&gt;In the X axis I have the Year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know which is the function to calculate de difference between one year and another.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lets suppose that in 2011 I spent $100 and on 2012 I spent 200, I want the function that brings to me 200 - 100 = 100 automatically. (as another bar in the chart)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For total accumulated&amp;nbsp; I use rangesum(above).... but for the difference I don't know which is the function..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you all ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Feb 2012 16:47:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-02-07T16:47:52Z</dc:date>
    <item>
      <title>Bar Chart Difference</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-Difference/m-p/260460#M98260</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 the following bar chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Y axis I have the amount of money spent.&lt;/P&gt;&lt;P&gt;In the X axis I have the Year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know which is the function to calculate de difference between one year and another.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lets suppose that in 2011 I spent $100 and on 2012 I spent 200, I want the function that brings to me 200 - 100 = 100 automatically. (as another bar in the chart)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For total accumulated&amp;nbsp; I use rangesum(above).... but for the difference I don't know which is the function..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you all ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2012 16:47:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-Difference/m-p/260460#M98260</guid>
      <dc:creator />
      <dc:date>2012-02-07T16:47:52Z</dc:date>
    </item>
    <item>
      <title>Bar Chart Difference</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-Difference/m-p/260461#M98261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could look into the chart inter record functions, one of them is the above() function you already used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So try something like&lt;/P&gt;&lt;P&gt;=Sum(Value)-above(Sum(Value))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as expression for your Delta bar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2012 16:59:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-Difference/m-p/260461#M98261</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-02-07T16:59:28Z</dc:date>
    </item>
    <item>
      <title>Bar Chart Difference</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-Difference/m-p/260462#M98262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You re right...&lt;/P&gt;&lt;P&gt;It was just in front of my eyes....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Really thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2012 17:13:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-Difference/m-p/260462#M98262</guid>
      <dc:creator />
      <dc:date>2012-02-07T17:13:07Z</dc:date>
    </item>
  </channel>
</rss>

