adolfomariscalh Posted August 15, 2015 Posted August 15, 2015 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
hozawa Posted August 16, 2015 Posted August 16, 2015 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.
adolfomariscalh Posted August 16, 2015 Author Posted August 16, 2015 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[/code]
adolfomariscalh Posted August 17, 2015 Author Posted August 17, 2015 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.
hozawa Posted August 17, 2015 Posted August 17, 2015 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.
adolfomariscalh Posted August 18, 2015 Author Posted August 18, 2015 The order of arrangement is correct, first "show" then "sched" and bottom "show_rate"
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now