jaspersoft studio

0

I'm trying to select a multi-input parameter in jaspersoft studio based on people's usernames.  I can successfully select one person via $P{REPORT_CONTEXT}.containsParameter("$F{username} ").  Does anyone know how I can update this so that I can select multiple usernames in one go?

 

Ive tried a couple of options via google but using arrays shows an empty report

 

Thanks in advance

adam.saville's picture
Joined: Aug 2 2016 - 6:17am
Last seen: 2 years 7 months ago

1 Answer:

0

create the parameter as arraylist and use the below filter expression

$P{Parameter}.contains($F{Field} ) == true

 

 

reportdev's picture
1224
Joined: Oct 12 2015 - 12:05pm
Last seen: 2 weeks 2 days ago
Feedback
randomness