how to use $X{IN, $F{field}, $P{param}} in expression editor?

0

Hello, everyone.

I would like to ask a question.
so i have created report in jaspersoft studio, i want to add filter expession (where $F{field} in($P{param})) for this report using $X{IN, $F{field}, $P{param}} syntax.
how to using it in this editor? is that possible?

newbie wan's picture
Joined: Nov 12 2014 - 10:20pm
Last seen: 3 years 7 months ago

1 Answer:

0

Within the report, I believe you use java-based syntax, for example:

OR($F{field}.equals("Value1"), $F{field}.equals("Value2") )

I think the $X{IN, $F{field}, $P{param}} syntax is only used when filtering an Input Control (the server-side object, not the corresponding parameter in the studio report), or if you want to use a Filter Expression in the Dataset and Query Dialog.

dstevens_2's picture
Joined: Jun 20 2017 - 8:32am
Last seen: 11 months 2 weeks ago
Feedback
randomness