<?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>Question Re: Totalizer (Last Value) in Product Lifecycle Management Q&amp;A</title>
    <link>https://community.sap.com/t5/product-lifecycle-management-q-a/totalizer-last-value/qaa-p/3780708#M17818</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you look @ the definition for the Accumulator , it depends upon the current &amp;amp; the previous values. I am not sure why you are looking @ the next value.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------" /&gt;&lt;P&gt;I looked @ it closely and I think you got confused by the "Last Value" in the definition when actually it should've been the previous.&lt;/P&gt;&lt;P&gt;I hope this'll clear your doubts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Udayan Upreti on May 5, 2008 10:49 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 May 2008 15:36:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-05T15:36:44Z</dc:date>
    <item>
      <title>Totalizer (Last Value)</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/totalizer-last-value/qaq-p/3780707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a Tag Query Pulling back a Counter.  I then apply the Totalizer action block to that.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How does Totalizer.Accumulator find the Value for the last row It doesn't actually know what the next value will be.  It appears that It just &lt;STRONG&gt;"ASSUMES"&lt;/STRONG&gt; that it will accumulate the same amount as the &lt;STRONG&gt;Second to last time&lt;/STRONG&gt;.  See my sample below....  Is that correct???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
StartDateTime               MinRange      MaxRange       Value             CurrentFlow 
03/19/2008 21:00:00      358909.64      358995.19       358995.90             87.01 
03/19/2008 22:00:00      358996.63      359082.25       359082.91             87.06 
03/19/2008 23:00:00      359083.69      359169.36       359169.97             87.11 
03/20/2008 00:00:00      359170.83      359256.54       359257.08             87.33 
03/20/2008 01:00:00      359257.98      359343.92       359344.41             87.33
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2008 14:54:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/totalizer-last-value/qaq-p/3780707</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-05T14:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Totalizer (Last Value)</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/totalizer-last-value/qaa-p/3780708#M17818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you look @ the definition for the Accumulator , it depends upon the current &amp;amp; the previous values. I am not sure why you are looking @ the next value.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------" /&gt;&lt;P&gt;I looked @ it closely and I think you got confused by the "Last Value" in the definition when actually it should've been the previous.&lt;/P&gt;&lt;P&gt;I hope this'll clear your doubts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Udayan Upreti on May 5, 2008 10:49 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2008 15:36:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/totalizer-last-value/qaa-p/3780708#M17818</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-05T15:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Totalizer (Last Value)</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/totalizer-last-value/qaa-p/3780709#M17819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understand the The Accumulator Def from Help is:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Accumulator Mode
The source column must be a numeric column.
The accumulator mode calculation is as follows:
If the current column value is less than the previous value, the accumulator value is set to

Scaling Factor *[Current Value + (Max Range -Last Value)].

If the current column is greater than the previous values, the accumulator value is set to
Scaling Factor * (Current Value - Last Value).

If you have increasing values and a scaling factor of one, you get a simple accumulator.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So therefore I would expect the a null number response in the first row since that row would not have a prior value.  But the output I am receiving leads me to believe it's actually taking row 2 value - row 1 value since this falls into condition 2 of the above rule set.    Therefore using this logic I would get a null number in the last row since I don't have a value for row last() + 1...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that makes some sense....&lt;/P&gt;&lt;P&gt;Dennis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS....&lt;/P&gt;&lt;P&gt;After a loosening of the brain freeze I was under I realized that from my original data set to my Totalized one, I was one record less.  I see the totalizer removes that last record..  There is the Ah Haa moment.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is still doing the row 2 value - row 1 value to gather the row 1 accumulator but my puzzle is solved..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Dennis West on May 5, 2008 11:53 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2008 15:51:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/totalizer-last-value/qaa-p/3780709#M17819</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-05T15:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: Totalizer (Last Value)</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/totalizer-last-value/qaa-p/3780710#M17820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And I thought you were worried about the last totalized row.&lt;/P&gt;&lt;P&gt;But your understanding is correct - you should get a 0 for the first row rather than a row2-row1.&lt;/P&gt;&lt;P&gt;If that is the case then you first and second row accumulator would show the same value , correct?&lt;/P&gt;&lt;P&gt;Anyways , let me ask you the version you are on?May be that would explain the behavior.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2008 16:13:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/totalizer-last-value/qaa-p/3780710#M17820</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-05T16:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Totalizer (Last Value)</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/totalizer-last-value/qaa-p/3780711#M17821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Working on Version 11.5...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2008 16:48:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/totalizer-last-value/qaa-p/3780711#M17821</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-05T16:48:11Z</dc:date>
    </item>
  </channel>
</rss>

