<?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: How to take values from previous month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-take-values-from-previous-month/m-p/907514#M985378</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; For the third expression go to Expression Tab under Accumulation select Accumulate and set value 1 for step back...This should work...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Aug 2015 16:26:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-08-05T16:26:01Z</dc:date>
    <item>
      <title>How to take values from previous month</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-take-values-from-previous-month/m-p/907512#M985374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to create a chart with opened cases, closed and remaining cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I was only able to create something la this (see picture below) , but is not good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/94791_Capture1.JPG" style="height: 233px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see now that the remaining cases is difference between 'Opened' and 'Closed', but I want to be different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want Remaining cases to take the cases that are still opened from previous month, in the current month. For example if I have 2 cases in 09/2014 which was closed in 10/2014, in 10/2014 I should have these 2 cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a 'formula' for the remaining cases, but I don't know how to take the values from the previous month. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;remaining in month M = Remaining Month M-1 + Open cases on Month M – Closed Cases on Month M&lt;/P&gt;&lt;P&gt;Please keep in mind that Closed cases on Month M = Created Cases which has been closed during month M +&amp;nbsp; Created Cases in previous month which has been closed in month M.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI : The closed cases are those which has 'closedMonth'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2020 18:02:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-take-values-from-previous-month/m-p/907512#M985374</guid>
      <dc:creator />
      <dc:date>2020-11-20T18:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to take values from previous month</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-take-values-from-previous-month/m-p/907513#M985376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If possible, post a small sample QVW, that makes it easier to understand your data model and create a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general, you can try enabling the full accumulation mode on expression tab for that remaining cases expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or using rangesum(above()) to accumulate your values, maybe something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=Rangesum(Above (FullExpressionToCalculateRemaining), 0, rowno() ))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Edit: Replace &lt;EM&gt;FullExpressionToCalculateRemaining&lt;/EM&gt; with your expression to calculate the remaining cases.&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2015 17:14:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-take-values-from-previous-month/m-p/907513#M985376</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-08-03T17:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to take values from previous month</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-take-values-from-previous-month/m-p/907514#M985378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; For the third expression go to Expression Tab under Accumulation select Accumulate and set value 1 for step back...This should work...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 16:26:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-take-values-from-previous-month/m-p/907514#M985378</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-05T16:26:01Z</dc:date>
    </item>
  </channel>
</rss>

