john.logia Posted April 29, 2017 Share Posted April 29, 2017 Hello all,I am trying to create a jasper report with dynamic columns.I have a database tableDAYTIMEAccountNum Value 1Num Value 2TextNum Value 3Num Value 4Num Value 501/01/2017105060ABC100563001/01/201710 200 01/01/201710 300 02/01/2017206734BED5008008703/01/201710133456ABC12323334503/01/201730122222GEF124331123I would like to create a report that will generate a dynamic column on the highlighted column attribute to a report like thisDaytimeAccountNum Value 1Num Value 2TextNum Value 3Num Value 3Num Value 3Num Value 4Num Value 501/01/2017105060ABC100200300563002/01/2017206734BED500 8008703/01/201710133456ABC123 23334503/01/201730122222GEF124 331123Is this Possible in Jasper Reports? Link to comment Share on other sites More sharing options...
Alex42 Posted May 2, 2017 Share Posted May 2, 2017 This might not be a solution but a workaround.You cound do something like that in ad-hoc views where data can be pivoted(or designed alreay pivoted) at the click of a buton. It's not the same, since you can't really format it to get a standard template for the result, but it might work, as it is dynamic and you can also export it and even save it as a report(just be carefull with the overwrite of the view "feature" aka "bug" from Jasper). 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