Jump to content
Changes to the Jaspersoft community edition download ×

How to pass a list of strings in a parameter

Recommended Posts

By: Neil Lamka - neil_lamka

How to pass a list of strings in a parameter

2006-05-11 14:04

I'm trying to put together a report where the user can input a list of groups that they want to exclude from the report. In my report query I want to replace something like



AND (not (lower(groupid) in ('groupa','groupc')))




AND (not (lower(groupid) in $P{excluded_groups})))


and then have a report paramter with (as an example) the initial expression set to the groups to exclude


I tried the following

" 'groupa','groupb' " without any success so is there a right way to make this work?




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