IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Running Total Options · View
idblew
Posted: Tuesday, August 13, 2019 9:18:47 PM
Rank: Member

Joined: 6/1/2017
Posts: 10
Location: Melbourne, Australia
Taken the data input below (fields are line number and amount)

1,5
2,15
3,10
4, 25

Is it possible to generate output with a running total as per below?

1,5,5
2,15,20 (5 + 15)
3,10,30 (20 + 10)
4, 25,55 (30 + 25)

Thanks
K101
Posted: Wednesday, August 14, 2019 8:51:27 AM
Rank: Advanced Member

Joined: 2/27/2009
Posts: 563
Sure, like this, using first-items (basically a specialized filter) and sum.

File Attachment(s):
example.zip (2kb) downloaded 33 time(s).

K101 attached the following image(s):
example.png

Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.