<?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 Need an Expression for Full Accumulation/Cumulative in a Pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382049#M491203</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a Table with a &lt;STRONG&gt;Cost Type Column containing: Obligated, Actual's and Projected&lt;/STRONG&gt; across a Month Dimension ranging from Jan-2012 into Feb-2013 a rolling calendar so YTD wont be useful. &lt;STRONG&gt;I just need a 'simple' Cumulative running total based off my set analysis sample below.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need get have a Cumulative summation from Cost type &lt;STRONG&gt;Obligated &amp;amp; Actual&lt;/STRONG&gt;.&amp;nbsp; See Image below for ref.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The problem is Full accumulation only works in a Chart not a table&lt;/STRONG&gt;. I'm new at this so I need a good starting point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Measure is : &lt;STRONG&gt;Amount &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Expression I use to display the Obligated Columns is: &lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;[Cost Type]={"&lt;SPAN style="color: #ff0000;"&gt;Obligated*&lt;/SPAN&gt;"}&amp;gt;}&lt;SPAN style="color: #ff0000;"&gt;Amount&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This works fine. But if I want to compare my Actuals against my Obligated Funds which may not be in that Month then its shows I ran out of Funds even though they were allocated in Months past. &lt;STRONG&gt;The end goal is to color code the areas were the Cumulative is &amp;lt; less than the &lt;/STRONG&gt;&lt;STRONG&gt;Cumulative &lt;/STRONG&gt;&lt;STRONG&gt;Actual's for that month then flag it red.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;&lt;STRONG&gt;Cumulative Obligated &amp;lt; &lt;/STRONG&gt;&lt;STRONG&gt;Cumulative &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="color: #008000;"&gt;Actual's Then make Color background Red. &lt;/SPAN&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="20912" class="jive-image-thumbnail jive-image" height="312" onclick="" alt="table.png" src="https://community.qlik.com/legacyfs/online/20912_table.png" width="739" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for any assistance rendered.&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Aug 2012 15:47:13 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-29T15:47:13Z</dc:date>
    <item>
      <title>Need an Expression for Full Accumulation/Cumulative in a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382049#M491203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a Table with a &lt;STRONG&gt;Cost Type Column containing: Obligated, Actual's and Projected&lt;/STRONG&gt; across a Month Dimension ranging from Jan-2012 into Feb-2013 a rolling calendar so YTD wont be useful. &lt;STRONG&gt;I just need a 'simple' Cumulative running total based off my set analysis sample below.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need get have a Cumulative summation from Cost type &lt;STRONG&gt;Obligated &amp;amp; Actual&lt;/STRONG&gt;.&amp;nbsp; See Image below for ref.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The problem is Full accumulation only works in a Chart not a table&lt;/STRONG&gt;. I'm new at this so I need a good starting point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Measure is : &lt;STRONG&gt;Amount &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Expression I use to display the Obligated Columns is: &lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;[Cost Type]={"&lt;SPAN style="color: #ff0000;"&gt;Obligated*&lt;/SPAN&gt;"}&amp;gt;}&lt;SPAN style="color: #ff0000;"&gt;Amount&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This works fine. But if I want to compare my Actuals against my Obligated Funds which may not be in that Month then its shows I ran out of Funds even though they were allocated in Months past. &lt;STRONG&gt;The end goal is to color code the areas were the Cumulative is &amp;lt; less than the &lt;/STRONG&gt;&lt;STRONG&gt;Cumulative &lt;/STRONG&gt;&lt;STRONG&gt;Actual's for that month then flag it red.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;&lt;STRONG&gt;Cumulative Obligated &amp;lt; &lt;/STRONG&gt;&lt;STRONG&gt;Cumulative &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="color: #008000;"&gt;Actual's Then make Color background Red. &lt;/SPAN&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="20912" class="jive-image-thumbnail jive-image" height="312" onclick="" alt="table.png" src="https://community.qlik.com/legacyfs/online/20912_table.png" width="739" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for any assistance rendered.&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2012 15:47:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382049#M491203</guid>
      <dc:creator />
      <dc:date>2012-08-29T15:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Need an Expression for Full Accumulation/Cumulative in a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382050#M491204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this expression will give you accumulation of Sum({$&amp;lt;[Cost Type]={"Obligated*"}&amp;gt;}Amount) by month:&lt;/P&gt;&lt;P&gt; =rangesum(Before(Sum({$&amp;lt;[Cost Type]={"Obligated*"}&amp;gt;}Amount),0, ColumnNo()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should use "before" and ColumnNo() because your table is right foward.&lt;/P&gt;&lt;P&gt;For vertical accumulation use "above" and RowNo().&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2012 16:44:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382050#M491204</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-08-29T16:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Need an Expression for Full Accumulation/Cumulative in a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382051#M491205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Everything works great, it replicates the full accumulation. I did run into a User selection issue that 'breaks' the calculation though. Wondering if there is a work around?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since its based on right forward, if the user selects months after the obligated was allocated it never gets pulled in.&lt;/P&gt;&lt;P&gt;If I change the Set analysis to 1 vs $ that works by forcing it to keep ColumnNo left of the selection in place, but prevents user from de-selecting the ColumnNo. Is there a way I can ignore the month selections in the RangeSum expression or do something in the script which does not allow the Before clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im thinking about &lt;STRONG style="text-decoration: underline;"&gt;ignoring &lt;/STRONG&gt;the Month field in the Summation portion ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;[Cost Type]={'Obligated'},&lt;STRONG&gt;Month=&amp;gt;&lt;/STRONG&gt;}Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or Alter the Dimension Month?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 13:23:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382051#M491205</guid>
      <dc:creator />
      <dc:date>2012-08-30T13:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Need an Expression for Full Accumulation/Cumulative in a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382052#M491206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats right the solution with "before" (and so on) works with pivot itself.&lt;/P&gt;&lt;P&gt;So it accumulates only values that you &lt;STRONG&gt;see in pivot&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Describe your case in an example and I'll try to help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 13:45:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382052#M491206</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-08-30T13:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Need an Expression for Full Accumulation/Cumulative in a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382053#M491207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe I need to change the Offset of 0 to a positive N to look further left. ColumnNo can only return what's available to it, so there lies the problem, just not what I need to alter to inlcude all columns even if a user slevts less than that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Specifying an &lt;SPAN style="font-style: italic;"&gt;offset&lt;/SPAN&gt; greater than 1 lets you move the evaluation of &lt;SPAN style="font-style: italic;"&gt;expression&lt;/SPAN&gt; to columns further to the left of the current column. A negative &lt;SPAN style="font-style: italic;"&gt;offset&lt;/SPAN&gt; number will actually make the &lt;SPAN class="Bold"&gt;before&lt;/SPAN&gt; function equivalent to a &lt;SPAN class="Bold"&gt;after&lt;/SPAN&gt; function with the corresponding positive &lt;SPAN style="font-style: italic;"&gt;offset&lt;/SPAN&gt; number. Specifying an &lt;SPAN style="font-style: italic;"&gt;offset&lt;/SPAN&gt; of 0 will evaluate the &lt;SPAN style="font-style: italic;"&gt;expression&lt;/SPAN&gt; on the current column. Recursive calls will return NULL.&lt;/P&gt;&lt;P&gt;By specifying a third parameter &lt;SPAN style="font-style: italic;"&gt;n&lt;/SPAN&gt; greater than 1, the function will return not one but a range of &lt;SPAN style="font-style: italic;"&gt;n&lt;/SPAN&gt; values, one for each of &lt;SPAN style="font-style: italic;"&gt;n&lt;/SPAN&gt; table columns counting to the left from the original cell. In this form, the function can be used as an argument to any of the special &lt;A _jive_internal="true" href="https://community.qlik.com/message/Chart_Range_functions.htm"&gt;range functions&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 14:07:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382053#M491207</guid>
      <dc:creator />
      <dc:date>2012-08-30T14:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Need an Expression for Full Accumulation/Cumulative in a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382054#M491208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would say rather "before' function "can only return what's available to it".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 14:12:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382054#M491208</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-08-30T14:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Need an Expression for Full Accumulation/Cumulative in a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382055#M491209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, could you please describe what behaviour you expects from your application ? (the use case).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 14:59:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382055#M491209</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-08-30T14:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need an Expression for Full Accumulation/Cumulative in a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382056#M491210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Basically If I select 3 months Jun-Aug it should show just the three months just like the Chart does. &lt;/P&gt;&lt;P&gt;But with the set analysis at 1 vs $ it blocks that ability to select combinations that don't start at the beginning. &lt;/P&gt;&lt;P&gt;In order for the expression to work for the &lt;STRONG&gt;Color coding if The Actual's are greater than the running amount of the obligated&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt; If the Accumulation is only for those 3 months vs going to the beginning of the data set i.e Jan-12&amp;nbsp; then you wont get an accurate comaprison.&lt;/P&gt;&lt;P&gt;So its the user vs the Expression... If the user selects the montsh int eh Chart that overides me hiding the Month List box.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 15:49:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382056#M491210</guid>
      <dc:creator />
      <dc:date>2012-08-30T15:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Need an Expression for Full Accumulation/Cumulative in a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382057#M491211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try&lt;/P&gt;&lt;P&gt;Only({$} rangesum(Before(Sum({$&amp;lt;[Cost Type]={"Obligated*"}&amp;gt;}Amount),0, ColumnNo())))&lt;/P&gt;&lt;P&gt;The only function reduces the resulting set but I'm not shure if it right in your case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 16:32:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382057#M491211</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-08-30T16:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: Need an Expression for Full Accumulation/Cumulative in a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382058#M491212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just tried it. It returns Null values blanks. Reduce I want to keep it open to maximum. The chart accumulation behaves the same way even with the built in accumulation.&amp;nbsp; I guess the only way around it is to generate the accumulation in the data source or script.... But for now I'll make this work with the {1}&amp;nbsp; in my set analysis. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other Issue I ran into is to get the Line to start &lt;EM&gt;dash line &lt;/EM&gt;style in Jul which appears in Aug, Even though its the end of Jul it starts the dash fro Projected .If I coould get it to move back one month. &lt;/P&gt;&lt;P&gt;S2=Dash S1=Line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Sum({$&amp;lt;[Cost Type]={"Actual*"}&amp;gt;}Amount) &lt;STRONG&gt;&amp;lt;= 0&lt;/STRONG&gt; ,'&amp;lt;S2&amp;gt;','&amp;lt;S1&amp;gt;')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 16:59:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382058#M491212</guid>
      <dc:creator />
      <dc:date>2012-08-30T16:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: Need an Expression for Full Accumulation/Cumulative in a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382059#M491213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh, thats simple, use:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;below(&lt;/STRONG&gt;Sum({$&amp;lt;[Cost Type]={"Actual*"}&amp;gt;}Amount)) &amp;lt;= 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 17:50:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382059#M491213</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-08-30T17:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Need an Expression for Full Accumulation/Cumulative in a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382060#M491214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Makes sense. For some reason though it went all solid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 17:55:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382060#M491214</guid>
      <dc:creator />
      <dc:date>2012-08-30T17:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Need an Expression for Full Accumulation/Cumulative in a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382061#M491215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tried it before post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(below(Sum({$&amp;lt;[Cost Type]={"Actual*"}&amp;gt;}Amount)) &amp;lt;= 0 AND Sum({$&amp;lt;[Cost Type]={"Actuals*"},$(vLastMonth)={"&amp;lt;$(vNextMonth)"}&amp;gt;}Amount) &amp;lt;= 0,'&amp;lt;S2&amp;gt;','&amp;lt;S1&amp;gt;')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 18:04:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382061#M491215</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-08-30T18:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Need an Expression for Full Accumulation/Cumulative in a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382062#M491216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, that did work. I just had to insert it properly in my If statement. Awesome such a simple and elegant solution.&lt;/P&gt;&lt;P&gt;I really need to start knowing the Chart Inter Record functions!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks So much this one has been bugging me for three days.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 18:06:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382062#M491216</guid>
      <dc:creator />
      <dc:date>2012-08-30T18:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Need an Expression for Full Accumulation/Cumulative in a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382063#M491217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This one did the trick....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Below(Sum({$&amp;lt;[Cost Type]={"Actual*"}&amp;gt;}Amount)) &amp;lt;= 0 ,'&amp;lt;S2&amp;gt;','&amp;lt;S1&amp;gt;')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 18:09:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382063#M491217</guid>
      <dc:creator />
      <dc:date>2012-08-30T18:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Need an Expression for Full Accumulation/Cumulative in a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382064#M491218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the one that works:&amp;nbsp; If(Below(Sum({$&amp;lt;[Cost Type]={"Actual*"}&amp;gt;}Amount)) &amp;lt;= 0 ,'&amp;lt;S2&amp;gt;','&amp;lt;S1&amp;gt;')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The one with vMonths was my failed logic I was playing with.&amp;nbsp; the 'below' function is such a better method maybe the only method!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 18:10:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382064#M491218</guid>
      <dc:creator />
      <dc:date>2012-08-30T18:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: Need an Expression for Full Accumulation/Cumulative in a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382065#M491219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, 'cause I've met that several times before and today I've finally realised how to beat that &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 18:11:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382065#M491219</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-08-30T18:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Need an Expression for Full Accumulation/Cumulative in a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382066#M491220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a dilemma, I'm trying to solve on my pivot table. My Cumulative is showing data 2 months past where it should? See below....&amp;nbsp; &lt;/P&gt;&lt;P&gt;My Actual Cumulative should stop at September but it keeps going along with my Obligated which should not either.&amp;nbsp; Any pointers?&amp;nbsp; Is this expected behavoir? &lt;STRONG&gt; See attached Image&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;RangeSum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;Before&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[Cost Type]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"Actual*"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;),0, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;ColumnNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;())) &lt;/SPAN&gt;&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;&lt;IMG class="jiveImage" src="https://community.qlik.com/message/258948/" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;IMG class="jiveImage" src="https://community.qlik.com/message/258948/" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 19:58:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382066#M491220</guid>
      <dc:creator />
      <dc:date>2012-09-13T19:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Need an Expression for Full Accumulation/Cumulative in a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382067#M491221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes its expected.&lt;/P&gt;&lt;P&gt;For every column after September your expression can be calculated clearly. And its logically right. There is no actual after September so the result is the same but &lt;SPAN style="text-decoration: underline;"&gt;it exists&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to add a condition to make it zero in future if you want, for example:&lt;/P&gt;&lt;P&gt;Count({1&amp;lt;[Cost Type]={"Actual*"}&amp;gt;}Amount) &amp;gt; 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2012 06:11:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382067#M491221</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-09-14T06:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Need an Expression for Full Accumulation/Cumulative in a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382068#M491222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, that makes sense now. I had a feeling that would be the case. So I need to nest the Count expression you provided into my RangeSum it sounds like?&lt;/P&gt;&lt;P&gt;Or do I use an If statement and use the count to qualify the Rangesum before its used?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;( &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[Cost Type]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"Actual*"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) &amp;gt; &lt;STRONG&gt;0 , &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;RangeSum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Before&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[Cost Type]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"Actual*"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;),0, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;ColumnNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;())) &lt;STRONG&gt;, 0 ) &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2012 12:29:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-an-Expression-for-Full-Accumulation-Cumulative-in-a-Pivot/m-p/382068#M491222</guid>
      <dc:creator />
      <dc:date>2012-09-14T12:29:19Z</dc:date>
    </item>
  </channel>
</rss>

