It's all about the answers!

Ask a question

How to persist values in BIRT?

Manuel Felipe Amaya (1321227) | asked Aug 09 '16, 10:05 a.m.

I need help saving a value from a row and comparing it with the next row.

For example, the report has to show how much time a WI was in a state. (Right now I have how much time a WI was between every save, but I can't persist the first timestamp in order to compare it with the next).


One answer

permanent link
Steven Hovater (10920) | answered Aug 11 '16, 6:23 a.m.
 A BIRT report has an initialization script that runs before anything else. You can declare global variables

Beware, though, as the charting API doesn't see those globals - you have to explicitly share those values in order to use them in a chart context.

Your answer

Register or to post your answer.