[SOLVED] Computing between data from the same column [message #1068122] |
Fri, 12 July 2013 05:41  |
Eclipse User |
|
|
|
Hi!
I'm trying to calculate the difference between 2 numbers listed (consecutively) in the same column.
I have an XML data source and I'm using a computed column to calculate the difference between the value any item and that of the item that follows.
Ideally, given a "value" column, it should be something like:
BirtMath.subtract(row["value",n], row["value",n+1])
This would be very simple if the data where in separate columns but, as it happens, I don't know how to identify the 2 values in the Expression builder to complete the instruction. Is there a definite syntax for this?
Thanks for your attention!
[Updated on: Tue, 23 July 2013 05:31] by Moderator
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03632 seconds