<?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: Period over Period Account Balance Difference % in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Period-over-Period-Account-Balance-Difference/m-p/1054563#M943896</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need to wrap your before-expression within an aggr-function - see here &lt;A href="https://community.qlik.com/docs/DOC-4252"&gt;Calculating rolling n-period totals, averages or other aggregations&lt;/A&gt; to the example of the rolling 3-months which is quite similar to your task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 09 Jan 2016 10:51:35 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2016-01-09T10:51:35Z</dc:date>
    <item>
      <title>Period over Period Account Balance Difference %</title>
      <link>https://community.qlik.com/t5/QlikView/Period-over-Period-Account-Balance-Difference/m-p/1054562#M943895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; What is the best way to calculate difference is account balance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Overview of what I have done so far:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I have added two sheet with two different approach: &lt;UL&gt;&lt;LI&gt;1st approach is creating pivot table and calculating differences in account balance considering before function &lt;/LI&gt;&lt;LI&gt;2nd approach is creating straight table and calculating&amp;nbsp; differences in account balance using above function&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Pending issues: &lt;UL&gt;&lt;LI&gt;Period Slider is not dynamic &lt;/LI&gt;&lt;LI&gt;Difference sort order&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;DIV&gt;Calculation &lt;/DIV&gt;&lt;DIV&gt;Account Balance: Sum(Amount)&lt;/DIV&gt;&lt;DIV&gt;Difference: if(Period='2014/1',0, sum( Amount)- before(sum(Amount)))&lt;/DIV&gt;&lt;DIV&gt;Difference %: fabs(if(Period='2014/1',0,sum( Amount)- before(sum(Amount)))/sum( Amount))&lt;/DIV&gt;&lt;DIV&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/111104_Capture.PNG" style="height: 221px; width: 620px;" /&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;IMG alt="Capture2.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/111105_Capture2.PNG" style="height: auto;" /&gt;&lt;IMG alt="Capture3.PNG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/111106_Capture3.PNG" style="height: auto;" /&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2016 18:32:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Period-over-Period-Account-Balance-Difference/m-p/1054562#M943895</guid>
      <dc:creator />
      <dc:date>2016-01-08T18:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Period over Period Account Balance Difference %</title>
      <link>https://community.qlik.com/t5/QlikView/Period-over-Period-Account-Balance-Difference/m-p/1054563#M943896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need to wrap your before-expression within an aggr-function - see here &lt;A href="https://community.qlik.com/docs/DOC-4252"&gt;Calculating rolling n-period totals, averages or other aggregations&lt;/A&gt; to the example of the rolling 3-months which is quite similar to your task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Jan 2016 10:51:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Period-over-Period-Account-Balance-Difference/m-p/1054563#M943896</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-01-09T10:51:35Z</dc:date>
    </item>
  </channel>
</rss>

