Jump to content
Changes to the Jaspersoft community edition download ×

Dynamically changining Group reporby expressi


Recommended Posts

By: Sachin Aggarwal - sk_aggarwal

Dynamically changining Group reporby expressi

2003-11-23 23:19

Hi ,

I wish to change the criteria according to which report is grouped by based on the value of a parameter "GROUP_REPORT_BY" whose value can be date or employee both of them are fields.

If I modify the group expression in the "group by" dialogue box to $F{EMPID} to $F{SDATE}, data in the report is grouped as expected.

But if I mention $P{GROUP_REPORT_BY} as group expression and assign $F{EMPID} to the parameter's default value expression, it doesn't work and entire report data appears in one chunk. I tried a lot of hit and trial but could not succeed please help its very urgent..



Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...