Birt Exception in Computed Column [message #259274] |
Wed, 24 October 2007 08:42  |
Eclipse User |
|
|
|
Hi,
I'm trying to create a Computed Column to show a formula depending on it's
tipe:
if( row["TIPO_REGRESION"] == "POL" ) {
row["A"] + " + " row["B"] + "x" + " + " row["C"] + "x^2"
} else if( row["TIPO_REGRESION"] == "LIN" ) {
row["A"] + " + " row["B"] + "x"
} else if( row["TIPO_REGRESION"] == "EXP" ) {
row["A"] + " + " row["C"] + "x^2"
} else if( row["TIPO_REGRESION"] == "POT" ) {
row["M"] + "x^" + row["N"]
}
but get an exception making a preview:
A BIRT exception occurred.
Plug-in Provider:Eclipse.org
Plug-in Name:BIRT Data Engine
Plug-in ID:org.eclipse.birt.data
Version:2.2.0.v200706221
Error Code:data.engine.BirtException
Error Message:A BIRT exception occurred: org.eclipse.birt.core. See next
exception for more information.
org.eclipse.birt.core
Is there anything wrong with the JS code?
Regads,
Eduardo.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03320 seconds