Hi,
At the Birt Report, I am trying to reach the probability value of events which has scriptedProbabilityModel (js).
Previous tries show:
- in scripting environment, I can see the numerical probability at console view, by
console.log(event.probability)
- in the birt report environment, "event.probability" returns "NaN" for the events with javascript probability model (scriptedProbabilityModel)
When I check the class of the NaN value, it gives de.ikv.medini.util.core.MediniNumberUtil$1
How to reach the numerical probability value of the events with scriptedProbabilityModel? If possible, could you give an example code snippet?