I can't display variables in browser
Posted on August 15, 2015 at 1:54pm
Hello I have made my report on JasperSoft Studio, in its preliminary look good all the variables, such as this: new Double ($ V {} .doubleValue gt_sched () + $ V {} .doubleValue gt_no_shows ())
But in any browser appears as 0.00 value is not correct, please help
Adolfo
Joined: Jul 27 2015 - 9:51am
Last seen: 2 years 2 months ago
Posted on August 16, 2015 at 1:30am
Does the variable appear correctly in Jaspersoft Studio? Are you uploading to JasperReports Server or previewing the report in HTML format in Jaspersoft Studio?
You're probably getting 0.00 because you haven't entered a value in Initial Value.
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 9 months ago
Posted on August 16, 2015 at 7:26am
Yes in jasper studio preview aré ok, I dont use jasper server only studio and is ok With preview in html or Java or any but in the browser no, thanks
Joined: Jul 27 2015 - 9:51am
Last seen: 2 years 2 months ago
Posted on August 17, 2015 at 7:09am
hello hozawa I already got an initial value and I still displays 0.00, which can it be?
I want to sum two fields, and I try it with a variable.

Joined: Jul 27 2015 - 9:51am
Last seen: 2 years 2 months ago
Posted on August 17, 2015 at 2:32pm
Do you have "show_rate" defined after "sched" and "show" variables in the Outline View? Jaspersoft Studio evaluates variables from top to bottom as is displayed in the Outline View.
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 9 months ago
Posted on August 18, 2015 at 7:49am
The order of arrangement is correct, first "show" then "sched" and bottom "show_rate"
Joined: Jul 27 2015 - 9:51am
Last seen: 2 years 2 months ago