You need to sign in to do that
Don't have an account?
IT Admin Deloitte
Cumulative sum in table's columns
Hi All,
as you can see in the image below, this columns make the sum in a cumulative way that I don't want. Every cell is the sum of what it contains plus the previous. For example: the fourth cell should contains 90, but is 0 + 210 + 4000 + 90 = 4300.
This is strange to me, because i've developed it as:
Any idea?
Thankyou!
as you can see in the image below, this columns make the sum in a cumulative way that I don't want. Every cell is the sum of what it contains plus the previous. For example: the fourth cell should contains 90, but is 0 + 210 + 4000 + 90 = 4300.
This is strange to me, because i've developed it as:
<td data-field="price"><div style="float:left;position: relative;top: 1px;font-weight: lighter;">K$</div><apex:outputText styleClass="valoreoutput" style="width: 79%;position: relative;top:1px" value="{!cmpQ1[segment]['ActualsConv']}" /></td>
Any idea?
Thankyou!
James Loghry
It sounds like the logic you use to cmpQ1 is incorrect. It appears that you are double-adding the 'ActualsConv' value in the map. I would check that logic first.