It's all about the answers!

Ask a question

How to persist values in BIRT?


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

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).

Thanks.

One answer



permanent link
Steven Hovater (10921) | 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
there.

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.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.