Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
computed column from recursive row
mikew
I am relatively new to Birt and using report designer 2.5. This is my first post so I hope that I am not asking a too obvious question. I am trying to create a computed column, the output of this column depends on a values in a previous row as well as the current row. At the moment I am struggling to find a way to include row(n-1) in an expression, hopefully someone can point me in the right direction.
Find more posts tagged with
Comments
mwilliams
Hi mikew,
The way to do this will be to create a "temp" variable or something in your initialize script and use that to store the current value in in your computed column expression, to use as the "last" value in the next row.
Hope this helps.
AbhijitSingh
Can you please provide an example on this using a script or expression please?