Jump to content
We've recently updated our Privacy Statement, available here ×

Dynamic columns Jasper Reports


john.logia

Recommended Posts

Hello all,

I am trying to create a jasper report with dynamic columns.

I have a database table

DAYTIMEAccountNum Value 1Num  Value 2TextNum Value 3Num Value 4Num Value 5
01/01/2017105060ABC1005630
01/01/201710   200  
01/01/201710   300  
02/01/2017206734BED50080087
03/01/201710133456ABC123233345
03/01/201730122222GEF124331123

I would like to create a report that will generate a dynamic column on the highlighted column attribute to a report like this

DaytimeAccountNum Value 1Num Value 2TextNum Value 3Num Value 3Num Value 3Num Value 4Num Value 5
01/01/2017105060ABC1002003005630
02/01/2017206734BED500  80087
03/01/201710133456ABC123  233345
03/01/201730122222GEF124  331123

Is this Possible in Jasper Reports?

 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...