kalpesh.chavda Posted June 16, 2015 Share Posted June 16, 2015 Hello,I want to print sum of total values of my field into my result:in my table reportlikename mark totalaa 3 16bb 6 16cc 7 16 Link to comment Share on other sites More sharing options...
alba.ortega Posted June 16, 2015 Share Posted June 16, 2015 Hello, Do you want to add only the total for each column or do you want to add both columns and rows? Link to comment Share on other sites More sharing options...
marianol Posted June 16, 2015 Share Posted June 16, 2015 You can use Variables to calculate the total. Check the docs here on how to use variables: http://community.jaspersoft.com/documentation/tibco-jaspersoft-studio-user-guide/v610/variablesin Jaspersoft Studio if you drop a field in the column footer, or summary band it will ask you if yu want to aggregate the value (i.e. sum, avg, etc) and automatically create the variable for you. Link to comment Share on other sites More sharing options...
hozawa Posted June 16, 2015 Share Posted June 16, 2015 Have you tried using Crosstab component? Link to comment Share on other sites More sharing options...
kalpesh.chavda Posted June 17, 2015 Author Share Posted June 17, 2015 hello,in my subreport, my query is select mobile from emp where id = 12;when i run this query i am getting data88888888882222222222now in my main report i want to displya record like this:name mobile1 mobile 2abc 8888888888 2222222222 Link to comment Share on other sites More sharing options...
kalpesh.chavda Posted June 17, 2015 Author Share Posted June 17, 2015 hello,in my subreport, my query is select mobile from emp where id = 12;when i run this query i am getting data88888888882222222222now in my main report i want to displya record like this:name mobile1 mobile 2abc 8888888888 2222222222 Link to comment Share on other sites More sharing options...
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