<?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 Expression - comparing totals cost between 2 date ranges &amp; calculating difference percentage in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-comparing-totals-cost-between-2-date-ranges/m-p/550252#M555183</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am looking to produce a straight table which shows by department a comparison between the total costs arising last month (-1) against the total cost arising&amp;nbsp; for the month&amp;nbsp; before (-2) and then show the difference percentage between the 2 months&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the data set - 'costs' and 'creation date', 'creation month' and 'department' (see excel).&amp;nbsp; I would like to build an expression which totals all the costs with a creation date last month and compare this with the total cost with a creation date that falls in the prior month (-2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would I develop such an expression? and how do I ensure this continues to roll on as we progress though the year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rohan &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Aug 2013 16:02:09 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-08-01T16:02:09Z</dc:date>
    <item>
      <title>Expression - comparing totals cost between 2 date ranges &amp; calculating difference percentage</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-comparing-totals-cost-between-2-date-ranges/m-p/550252#M555183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am looking to produce a straight table which shows by department a comparison between the total costs arising last month (-1) against the total cost arising&amp;nbsp; for the month&amp;nbsp; before (-2) and then show the difference percentage between the 2 months&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the data set - 'costs' and 'creation date', 'creation month' and 'department' (see excel).&amp;nbsp; I would like to build an expression which totals all the costs with a creation date last month and compare this with the total cost with a creation date that falls in the prior month (-2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would I develop such an expression? and how do I ensure this continues to roll on as we progress though the year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rohan &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 16:02:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-comparing-totals-cost-between-2-date-ranges/m-p/550252#M555183</guid>
      <dc:creator />
      <dc:date>2013-08-01T16:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Expression - comparing totals cost between 2 date ranges &amp; calculating difference percentage</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-comparing-totals-cost-between-2-date-ranges/m-p/550253#M555184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached example. If you simply add data for new months the expression will automatically show the last two months. If you select a month then it will show that month and the previous month.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 17:05:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-comparing-totals-cost-between-2-date-ranges/m-p/550253#M555184</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-08-01T17:05:23Z</dc:date>
    </item>
  </channel>
</rss>

